Showname property in fields etc...
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Showname property in fields etc...
Hi. A curiosity. The ShowName property exists for buttons, graphics or groups. But why there is no showName property for other controls such fields... or sliders for example? I suppose there must be some good reason, but I think it would be very useful.
Re: Showname property in fields etc...
Hi.
I guess the contents of a field might be considered its "showName". As for other controls, you will indeed have to roll your own. This is not too onerous, though, and for that reason I doubt the team would consider it a priority. You might, in v.8, make a widget...
Craig Newman
I guess the contents of a field might be considered its "showName". As for other controls, you will indeed have to roll your own. This is not too onerous, though, and for that reason I doubt the team would consider it a priority. You might, in v.8, make a widget...
Craig Newman
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Showname property in fields etc...
Where would it display the name?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Showname property in fields etc...
Right. What Richard means is something like, ..."what does a label field do for you that an ordinary one does not?" Is it that the "label" might be above the "text"? Somewhere else? That is why in such a case, and the idea is not crazy at all to want such a gadget, to make your own, likely as a group of two or more controls.Where would it display the name?
Craig
Re: Showname property in fields etc...
Thank you for your answers.
Ok, of course there are many solutions but involve new objects.
I am creating an application that uses scroll fields as columns and I wish his name was above them.
It also has some slider-buttons, and if I want to know its function I have to create as many fields to put their names.
Besides, in the case of these buttons... why do not even have tooltips to give clues?.
Yes, it's, another question: Why no tooltips for these buttons?

Curiously, this application I am doing is to help create routes on Google Earth.
Ok, of course there are many solutions but involve new objects.
I am creating an application that uses scroll fields as columns and I wish his name was above them.
It also has some slider-buttons, and if I want to know its function I have to create as many fields to put their names.
Besides, in the case of these buttons... why do not even have tooltips to give clues?.
Yes, it's, another question: Why no tooltips for these buttons?

Curiously, this application I am doing is to help create routes on Google Earth.
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Showname property in fields etc...
LiveCode fields offer nice support for multi-column text views. You could use a DataGrid object instead to get the labels, or Bernd's nifty single-object field header for columns - anyone here have that link handy?Fermin wrote:I am creating an application that uses scroll fields as columns and I wish his name was above them.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Showname property in fields etc...
I thought we were talking about fields. All buttons and fields have tooltips. It is true that sliders and progress bars do not, though, as usual, you can roll your own.Besides, in the case of these buttons... why do not even have tooltips to give clues?.
Yes, it's, another question: Why no tooltips for these buttons?
Craig
Re: Showname property in fields etc...
Scrollbars and sliders and progress bars can have tooltips, graphics can have labels.
You just have to set them by script. Especially setting the label of a graphic and the showname of the graphic to true opens some possibilities. You can change the information in the label without affecting the name of the graphic.
As for the modTableField you can find it here, I have no idea if it is suited for your use-case. It is basically one field for columnar data and a field for the header of the columns. See the documentation for the API. It does have a learning curve.
http://berndniggemann.on-rev.com./modTa ... _0_3_2.zip
Kind regards
Bernd
You just have to set them by script. Especially setting the label of a graphic and the showname of the graphic to true opens some possibilities. You can change the information in the label without affecting the name of the graphic.
As for the modTableField you can find it here, I have no idea if it is suited for your use-case. It is basically one field for columnar data and a field for the header of the columns. See the documentation for the API. It does have a learning curve.
http://berndniggemann.on-rev.com./modTa ... _0_3_2.zip
Kind regards
Bernd
Re: Showname property in fields etc...
Bernd is right again.
They just do not appear in the property inspector.
Craig

Craig
Re: Showname property in fields etc...
I just checked it is possible to put a tooltip using Script on the slider buttons (thank you very much). Although the name I think not.
Moreover, I knew, Bernd, that graphics can have labels. It is a very interesting feature for use as if they were fields and may, at the same time rounding the corners. I used this mode to display the month days in a calendar.
I'm not encouraged to use the DataGrid (for now) because I do not quite understand yet, and also need my columns have different colors and font styles etc ...
Thank everyone again for your help. Now I'm going to bed (in my city Bilbao (Spain) and are 2.20 AM. Goodbye and tomorrow I'll be here again.

Moreover, I knew, Bernd, that graphics can have labels. It is a very interesting feature for use as if they were fields and may, at the same time rounding the corners. I used this mode to display the month days in a calendar.
I'm not encouraged to use the DataGrid (for now) because I do not quite understand yet, and also need my columns have different colors and font styles etc ...
Thank everyone again for your help. Now I'm going to bed (in my city Bilbao (Spain) and are 2.20 AM. Goodbye and tomorrow I'll be here again.
