Is there a way that i could Show/Hide a section of the interface using the System,RefreshInterface Command?
So that when A user clicks a check box some more options will be shown?
Common API seems to get the interface to change as it has 3 different interfaces but i cant figure out how!
System,RefreshInterface Question w/ Show/Hide?
Started by
Flyboarder
, Sep 05 2009 05:51 PM
3 replies to this topic
#1
Posted 05 September 2009 - 05:51 PM
#2
Posted 05 September 2009 - 06:45 PM
It's easy:
- Define the second interface with name you want, e.g. [myInterface]
This usually is a copy of [Interface] with some changes. - Tell WinBuilder about this in the Main section and refresh.
IniWrite,%ScriptFile%,Main,Interface,myInterface System,REFRESHINTERFACE
- If you want to go back to the original:
IniDelete,%ScriptFile%,Main,Interface System,REFRESHINTERFACE
#3
Posted 05 September 2009 - 06:47 PM
ok so Im not sure how to implement it.
In [Main]
I have the first section of code you gave me, how do I call it?
EDIT: I think I might understand, now attempting.
In [Main]
IniWrite,%ScriptFile%,Main,Interface,myInterface System,REFRESHINTERFACE
I have the first section of code you gave me, how do I call it?
EDIT: I think I might understand, now attempting.
#4
Posted 05 September 2009 - 07:29 PM
SOLVED!
Great thanks, that makes the interface look much better.
Great thanks, that makes the interface look much better.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users