Announcement

Collapse
No announcement yet.

Renaming a Fancy Button by code?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Renaming a Fancy Button by code?

    Hello!

    I dont know if it is the appropriate forum section/topic (maybe rather in "Designer" ?) but here is my issue:

    I'd like to know if it would be possible to rename a "Fancy Button" using the 4DGL code?
    Up to know, i used in the Visi mode : "Objet Inspector" -> Property -> Caption attribute that in can edit

    but imagine i always want in my GUI the same 4 buttons that i d like to rename the caption dynamically using the code (Designer?).

    Is it possible ? How can i manage to do that?
    IF not, i must create 4 fancy buttons with different names each time i reach my new Menus?

    Thx by advance!

  • #2


    Probably best to use 4 buttons and just display the appropriate one.

    When the caption needs to change 'all over the place' I place a string over the button. You just need to write the string immediately after 'showing' the button.
    Mark

    Comment

    Working...
    X