Skip to main content
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Uniface 9: Columnwidth in tree widget.

Columnwidth in tree widget.

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

When the tree widget list view column sizes are altered, it now fires an extended trigger called columnwidth. When I define the column sizes, using $fieldproperties("FIELD")="FORMATS=CL10·!CL25·!TC6·!TL17·!CL·!CL6·!TL17·!CL13·!CL25·!CL·!CL25·!CL·; LABELS=Reference·!Location·!CHS·!Due Date·!Owner·!Priority·!Date Last Amended·!Contact·!Stock Item·!Cus. Order Ref.·!Developer·!Tester" I have been using character counts. If I resize the 4th column in the tree the columnwidth trigger gets ID=3 (because 1st column is Id 0), and width=117. Does anyone have a good tip as to what one could do WITH this information to make it useful for the next time around, I'd like to store the user's preferences for column sizes and reset the column widths to those the next time, but I don't know a sane way to translate 117 (or whatever) to TL17? What do you do about part characters? Or is there a method of telling the $fieldproperties to reset the columns in pixels? If not, what's the point of this trigger? Confused

27 replies

Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Columnwidth in tree widget.

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

When the tree widget list view column sizes are altered, it now fires an extended trigger called columnwidth. When I define the column sizes, using $fieldproperties("FIELD")="FORMATS=CL10·!CL25·!TC6·!TL17·!CL·!CL6·!TL17·!CL13·!CL25·!CL·!CL25·!CL·; LABELS=Reference·!Location·!CHS·!Due Date·!Owner·!Priority·!Date Last Amended·!Contact·!Stock Item·!Cus. Order Ref.·!Developer·!Tester" I have been using character counts. If I resize the 4th column in the tree the columnwidth trigger gets ID=3 (because 1st column is Id 0), and width=117. Does anyone have a good tip as to what one could do WITH this information to make it useful for the next time around, I'd like to store the user's preferences for column sizes and reset the column widths to those the next time, but I don't know a sane way to translate 117 (or whatever) to TL17? What do you do about part characters? Or is there a method of telling the $fieldproperties to reset the columns in pixels? If not, what's the point of this trigger? Confused

Hi Iain, lets play the good old $uuu guessing game: perhaps the first digit defines the datatype (in this case TL17 turns to 1 for the T=time and 17 for the length). if you compare what the columnswith trigger gets if you modify the first columns or the 3rd on which seems to be a time as well, we may be able to break the code.


Author: ulrich-merkel (ulrichmerkel@web.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Columnwidth in tree widget.

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

When the tree widget list view column sizes are altered, it now fires an extended trigger called columnwidth. When I define the column sizes, using $fieldproperties("FIELD")="FORMATS=CL10·!CL25·!TC6·!TL17·!CL·!CL6·!TL17·!CL13·!CL25·!CL·!CL25·!CL·; LABELS=Reference·!Location·!CHS·!Due Date·!Owner·!Priority·!Date Last Amended·!Contact·!Stock Item·!Cus. Order Ref.·!Developer·!Tester" I have been using character counts. If I resize the 4th column in the tree the columnwidth trigger gets ID=3 (because 1st column is Id 0), and width=117. Does anyone have a good tip as to what one could do WITH this information to make it useful for the next time around, I'd like to store the user's preferences for column sizes and reset the column widths to those the next time, but I don't know a sane way to translate 117 (or whatever) to TL17? What do you do about part characters? Or is there a method of telling the $fieldproperties to reset the columns in pixels? If not, what's the point of this trigger? Confused

Iain Sharp said
Jasper said An internal bug has been created and is submitted to the support department. I consider the columnwidth extended trigger useless when the tree-list cannot handle pixels like the grid columns can. I cannot say when or if the problem will be solved but at least it is now registrated in our bug system.
  

As said before, I'm not aware that this has come our way. And Jasper explicitly says that he cannot say "when or if the problem will be solved". He did not say anything that this issue will be picked up and fixed within a certain time frame.


Author: diseli (daniel.iseli@uniface.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Columnwidth in tree widget.

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

When the tree widget list view column sizes are altered, it now fires an extended trigger called columnwidth. When I define the column sizes, using $fieldproperties("FIELD")="FORMATS=CL10·!CL25·!TC6·!TL17·!CL·!CL6·!TL17·!CL13·!CL25·!CL·!CL25·!CL·; LABELS=Reference·!Location·!CHS·!Due Date·!Owner·!Priority·!Date Last Amended·!Contact·!Stock Item·!Cus. Order Ref.·!Developer·!Tester" I have been using character counts. If I resize the 4th column in the tree the columnwidth trigger gets ID=3 (because 1st column is Id 0), and width=117. Does anyone have a good tip as to what one could do WITH this information to make it useful for the next time around, I'd like to store the user's preferences for column sizes and reset the column widths to those the next time, but I don't know a sane way to translate 117 (or whatever) to TL17? What do you do about part characters? Or is there a method of telling the $fieldproperties to reset the columns in pixels? If not, what's the point of this trigger? Confused

Jasper said An internal bug has been created and is submitted to the support department. I consider the columnwidth extended trigger useless when the tree-list cannot handle pixels like the grid columns can. I cannot say when or if the problem will be solved but at least it is now registrated in our bug system.

Author: Iain Sharp (i.sharp@pcisystems.co.uk)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Columnwidth in tree widget.

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

When the tree widget list view column sizes are altered, it now fires an extended trigger called columnwidth. When I define the column sizes, using $fieldproperties("FIELD")="FORMATS=CL10·!CL25·!TC6·!TL17·!CL·!CL6·!TL17·!CL13·!CL25·!CL·!CL25·!CL·; LABELS=Reference·!Location·!CHS·!Due Date·!Owner·!Priority·!Date Last Amended·!Contact·!Stock Item·!Cus. Order Ref.·!Developer·!Tester" I have been using character counts. If I resize the 4th column in the tree the columnwidth trigger gets ID=3 (because 1st column is Id 0), and width=117. Does anyone have a good tip as to what one could do WITH this information to make it useful for the next time around, I'd like to store the user's preferences for column sizes and reset the column widths to those the next time, but I don't know a sane way to translate 117 (or whatever) to TL17? What do you do about part characters? Or is there a method of telling the $fieldproperties to reset the columns in pixels? If not, what's the point of this trigger? Confused

Iain Sharp said I didn't think I needed to, because Jasper had agreed that the columnwidth trigger was useless in its current form and had logged the call for me.  

As far as I can see, no call has been logged here. And if that would have been the case, then you would have received a confirmation that a call has been opened in your name. Not sure what happened here. Confused It, however, would be a bit unusual if an engineer would open a call for a customer. That's not how the support process is working. If a customer requires a fix for a certain issue then we usually ask him to open a call with support.

Iain Sharp said If Jasper had logged the call due to a comment Uli or Gerton had made, and I had read this forum then I would have not bothered logging one myself because the issue was in hand....

 If something is important for you then you should certainly log a call with support. Just because something has been reported does not mean that it will be fixed within the time frame that suits you (or other customers). For one customer something could be less important and he could accept if no fix is provided within a long time, but for another this could be very important and a timely solution could be vital for his operation.


Author: diseli (daniel.iseli@uniface.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Columnwidth in tree widget.

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

When the tree widget list view column sizes are altered, it now fires an extended trigger called columnwidth. When I define the column sizes, using $fieldproperties("FIELD")="FORMATS=CL10·!CL25·!TC6·!TL17·!CL·!CL6·!TL17·!CL13·!CL25·!CL·!CL25·!CL·; LABELS=Reference·!Location·!CHS·!Due Date·!Owner·!Priority·!Date Last Amended·!Contact·!Stock Item·!Cus. Order Ref.·!Developer·!Tester" I have been using character counts. If I resize the 4th column in the tree the columnwidth trigger gets ID=3 (because 1st column is Id 0), and width=117. Does anyone have a good tip as to what one could do WITH this information to make it useful for the next time around, I'd like to store the user's preferences for column sizes and reset the column widths to those the next time, but I don't know a sane way to translate 117 (or whatever) to TL17? What do you do about part characters? Or is there a method of telling the $fieldproperties to reset the columns in pixels? If not, what's the point of this trigger? Confused

I didn't think I needed to, because Jasper had agreed that the columnwidth trigger was useless in its current form and had logged the call for me.  If Jasper had logged the call due to a comment Uli or Gerton had made, and I had read this forum then I would have not bothered logging one myself because the issue was in hand.... 


Author: Iain Sharp (i.sharp@pcisystems.co.uk)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Columnwidth in tree widget.

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

When the tree widget list view column sizes are altered, it now fires an extended trigger called columnwidth. When I define the column sizes, using $fieldproperties("FIELD")="FORMATS=CL10·!CL25·!TC6·!TL17·!CL·!CL6·!TL17·!CL13·!CL25·!CL·!CL25·!CL·; LABELS=Reference·!Location·!CHS·!Due Date·!Owner·!Priority·!Date Last Amended·!Contact·!Stock Item·!Cus. Order Ref.·!Developer·!Tester" I have been using character counts. If I resize the 4th column in the tree the columnwidth trigger gets ID=3 (because 1st column is Id 0), and width=117. Does anyone have a good tip as to what one could do WITH this information to make it useful for the next time around, I'd like to store the user's preferences for column sizes and reset the column widths to those the next time, but I don't know a sane way to translate 117 (or whatever) to TL17? What do you do about part characters? Or is there a method of telling the $fieldproperties to reset the columns in pixels? If not, what's the point of this trigger? Confused

Iain Sharp said This problem is unlikely to get re-reported or escalated precisely because this forum post exists. So bringing the problem to your attention seems to be a route to make resolution more unlikely. 

Question: have you already reported this as a call to support? There's probably some misunderstanding here, but this forum is meant for discussing issues and exchanging possible workarounds. It's not really meant for reporting problems to the lab where a fix is expected within a given time frame. It is possible that we create new bug reports, because of issues that are reported in the forum. But this is first of all for reference purposes, so that others can find this info (and possible workarounds, if available) in the known issues list. In case it's important that a problem is resolved in the foreseeable future then a call should be logged with support, along with some justification why the lab needs to spend time on this. I'm afraid that's how the support process is working. In case you are not happy with how this issue is handled then please contact your local account manager. Hope this helps. Daniel


Author: diseli (daniel.iseli@uniface.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Columnwidth in tree widget.

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

When the tree widget list view column sizes are altered, it now fires an extended trigger called columnwidth. When I define the column sizes, using $fieldproperties("FIELD")="FORMATS=CL10·!CL25·!TC6·!TL17·!CL·!CL6·!TL17·!CL13·!CL25·!CL·!CL25·!CL·; LABELS=Reference·!Location·!CHS·!Due Date·!Owner·!Priority·!Date Last Amended·!Contact·!Stock Item·!Cus. Order Ref.·!Developer·!Tester" I have been using character counts. If I resize the 4th column in the tree the columnwidth trigger gets ID=3 (because 1st column is Id 0), and width=117. Does anyone have a good tip as to what one could do WITH this information to make it useful for the next time around, I'd like to store the user's preferences for column sizes and reset the column widths to those the next time, but I don't know a sane way to translate 117 (or whatever) to TL17? What do you do about part characters? Or is there a method of telling the $fieldproperties to reset the columns in pixels? If not, what's the point of this trigger? Confused

Okay, I am going to start again, I just started writing an answer and realised that it had gotten quite agitated.  This problem is unlikely to get re-reported or escalated precisely because this forum post exists. So bringing the problem to your attention seems to be a route to make resolution more unlikely.  Unless anyone else who feels this problem SHOULD be resolved would like to take this opportunity to log a support call so as to indicate a measure of importance for it.  I appreciate that Uniface has a large workload, and that it appears to be drifting further and further away from the purpose we bought it for, and onto the web, so I suppose I should not expect much impetus on GUI problems. 


Author: Iain Sharp (i.sharp@pcisystems.co.uk)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Columnwidth in tree widget.

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

When the tree widget list view column sizes are altered, it now fires an extended trigger called columnwidth. When I define the column sizes, using $fieldproperties("FIELD")="FORMATS=CL10·!CL25·!TC6·!TL17·!CL·!CL6·!TL17·!CL13·!CL25·!CL·!CL25·!CL·; LABELS=Reference·!Location·!CHS·!Due Date·!Owner·!Priority·!Date Last Amended·!Contact·!Stock Item·!Cus. Order Ref.·!Developer·!Tester" I have been using character counts. If I resize the 4th column in the tree the columnwidth trigger gets ID=3 (because 1st column is Id 0), and width=117. Does anyone have a good tip as to what one could do WITH this information to make it useful for the next time around, I'd like to store the user's preferences for column sizes and reset the column widths to those the next time, but I don't know a sane way to translate 117 (or whatever) to TL17? What do you do about part characters? Or is there a method of telling the $fieldproperties to reset the columns in pixels? If not, what's the point of this trigger? Confused

Iain Sharp said Hi Jasper,    Was this internal bug number Issue 30511? Because the same issue has cropped up again, and I still don't have anything I can release to my customers to allow them to customise their screen layouts to fit their data that I am prepared to release.  30511 is marked that it will not be fixed. Seems a shame.    Iain  

Yes, indeed it is. Not sure why it has the status "Will not be resolved" - it probably should be "Under review" -, but as long as this bug has not been reported/escalated by one or more customers it's (unfortunately) unlikely that something will be done here. The reality is that there are many more open issues that need to be looked at and this one is currently somewhere at the bottom of the list. Daniel


Author: diseli (daniel.iseli@uniface.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Columnwidth in tree widget.

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

When the tree widget list view column sizes are altered, it now fires an extended trigger called columnwidth. When I define the column sizes, using $fieldproperties("FIELD")="FORMATS=CL10·!CL25·!TC6·!TL17·!CL·!CL6·!TL17·!CL13·!CL25·!CL·!CL25·!CL·; LABELS=Reference·!Location·!CHS·!Due Date·!Owner·!Priority·!Date Last Amended·!Contact·!Stock Item·!Cus. Order Ref.·!Developer·!Tester" I have been using character counts. If I resize the 4th column in the tree the columnwidth trigger gets ID=3 (because 1st column is Id 0), and width=117. Does anyone have a good tip as to what one could do WITH this information to make it useful for the next time around, I'd like to store the user's preferences for column sizes and reset the column widths to those the next time, but I don't know a sane way to translate 117 (or whatever) to TL17? What do you do about part characters? Or is there a method of telling the $fieldproperties to reset the columns in pixels? If not, what's the point of this trigger? Confused

Hi Jasper,    Was this internal bug number Issue 30511? Because the same issue has cropped up again, and I still don't have anything I can release to my customers to allow them to customise their screen layouts to fit their data that I am prepared to release.  30511 is marked that it will not be fixed. Seems a shame.    Iain


Author: Iain Sharp (i.sharp@pcisystems.co.uk)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Columnwidth in tree widget.

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

When the tree widget list view column sizes are altered, it now fires an extended trigger called columnwidth. When I define the column sizes, using $fieldproperties("FIELD")="FORMATS=CL10·!CL25·!TC6·!TL17·!CL·!CL6·!TL17·!CL13·!CL25·!CL·!CL25·!CL·; LABELS=Reference·!Location·!CHS·!Due Date·!Owner·!Priority·!Date Last Amended·!Contact·!Stock Item·!Cus. Order Ref.·!Developer·!Tester" I have been using character counts. If I resize the 4th column in the tree the columnwidth trigger gets ID=3 (because 1st column is Id 0), and width=117. Does anyone have a good tip as to what one could do WITH this information to make it useful for the next time around, I'd like to store the user's preferences for column sizes and reset the column widths to those the next time, but I don't know a sane way to translate 117 (or whatever) to TL17? What do you do about part characters? Or is there a method of telling the $fieldproperties to reset the columns in pixels? If not, what's the point of this trigger? Confused

Hello Jasper, this is good news. Hopefully this bug will be fixed one day. :-)


Author: sochaz (zdenek.socha@fullsys.cz)