Hi
Can anybody tell me where I can get informations on Switchers in Visual Age.
They are the best way for hiding/showing components, but I cannot seem to find any information on them.
Are they fully supported in Visual Age?
Thanks
Xabi
Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig
xabialonso wrote:Hi
Can anybody tell me where I can get informations on Switchers in Visual Age.
They are the best way for hiding/showing components, but I cannot seem to find any information on them.
Are they fully supported in Visual Age?
Thanks
Xabi
PhotonDemon wrote:Hi Xabi,
The VA Smalltalk part is #AbtSwitcherView. I wasn't able to find anything about them in the documentation. Fortunately, they are fairly easy to use. You place one in a window of form like any other GUI part. You then place forms on/in the switcher and size them as you like. To select the form to view, you send the switcher the #topViewName: message with the name of the form.
Lou
newActivePage: aMSKWizardPageDescription
| formName |
formName := aMSKWizardPageDescription isNil ifTrue:[ ^self ] ifFalse:[ aMSKWizardPageDescription name ].
switcher subpartNamed: formName put: aMSKWizardPageDescription instance.
switcher topViewName: formName.
Return to VA Smalltalk 7.0, 7.5 & 8.0
Users browsing this forum: Yahoo [Bot] and 1 guest