Page 1 of 1

Proposal for Form Designer (PB 5.11)

Posted: Sat Mar 23, 2013 5:43 pm
by menschmarkus
Today I start to work with Form Designer. Found some bugs but following the Forum they are fixed.
I like it to define gadget text as a variable. It offers nice basic setup for multilangual program. Unfortunately if I just want to check the window and compile it, I get an correct error message (String expected). The gadget contains the set variable but the variable is undifined.
It would be really helpful if code creator in the background would define the gadget text variables as e.g. a global string variable. Even if it would be as an empty string, it would help not to loose overview over all gadgets.
It would be perfect if I could enter variable name as well as gadget text in form designer.

Just a wish :)

If there is a solution existing, just tell me.

menschmarkus

Re: Proposal for Form Designer (PB 5.11)

Posted: Mon Mar 25, 2013 1:23 am
by IdeasVacuum
How about using the variable name as the gadget text?

Re: Proposal for Form Designer (PB 5.11)

Posted: Wed Mar 27, 2013 4:23 pm
by menschmarkus
Of course I could use variable name as gadget text but this takes the possibility to use a gadget text variable for multilingual handling (one variable as gadget text = easy language administration)

Re: Proposal for Form Designer (PB 5.11)

Posted: Wed Mar 27, 2013 4:47 pm
by ts-soft
Set the text after reading the language with SetGadgetText! It is not required to set the text on controlcreation :wink:

Re: Proposal for Form Designer (PB 5.11)

Posted: Fri Mar 29, 2013 10:59 pm
by menschmarkus
ts-soft wrote:Set the text after reading the language with SetGadgetText! It is not required to set the text on controlcreation :wink:
Ok, but at this point you finished designing your window.
Imagine you build a window with e.g. 60 text containing gadgets- you finished designing it an want to launch it. As mentioned in my first message you will get error messages because the variables fort the txt gadgets are not defined (i know, i repeat myself). you now only have a chance for succesful running the window to spend time in defining 60 variables and fill them with life(text). It surely will be much less time consuming to do this work during designing. At last enumerations are defined automatically as well.

However, it was just an idea. I am happy that such a form designer is existing an thank the guys who did this work. Possibly at a later state this idea becomes real. :D