Page 1 of 1
Showname property in fields etc...
Posted: Mon Jan 25, 2016 12:20 am
by Fermin
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...
Posted: Wed Jan 27, 2016 4:16 pm
by dunbarx
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
Re: Showname property in fields etc...
Posted: Wed Jan 27, 2016 5:35 pm
by FourthWorld
Where would it display the name?
Re: Showname property in fields etc...
Posted: Wed Jan 27, 2016 9:57 pm
by dunbarx
Where would it display the name?
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.
Craig
Re: Showname property in fields etc...
Posted: Thu Jan 28, 2016 9:53 pm
by Fermin
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.
Re: Showname property in fields etc...
Posted: Thu Jan 28, 2016 10:30 pm
by FourthWorld
Fermin wrote:I am creating an application that uses scroll fields as columns and I wish his name was above them.
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?
Re: Showname property in fields etc...
Posted: Thu Jan 28, 2016 11:27 pm
by dunbarx
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?
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.
Craig
Re: Showname property in fields etc...
Posted: Fri Jan 29, 2016 12:04 am
by bn
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
Re: Showname property in fields etc...
Posted: Fri Jan 29, 2016 1:11 am
by dunbarx
Bernd is right again.

They just do not appear in the property inspector.
Craig
Re: Showname property in fields etc...
Posted: Fri Jan 29, 2016 2:22 am
by Fermin
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.
