Link to home
Start Free TrialLog in
Avatar of ngomte
ngomte

asked on

dynamically controlling GUI

I want to dynamically create the GUI in Visual basic 6.0 from XML.
Can somebody help me

Thanks for answer
 But I need to add 15 controls.How can I trap events for all such controls
ASKER CERTIFIED SOLUTION
Avatar of ronenr
ronenr
Flag of Mexico image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Éric Moreau
you will need to create controls at run-time: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q190670
Avatar of kprestage
kprestage

by using control arrays like suggested by ronenr, you would  trap the events for the controls by putting code in the event on your form.  If you have a label name lblDynamic(0) on your form, you can then add more labels like lblDynamic on the form using ronenrs example.  To code against the other controls, you would put the code in the events for lblDynamic(0).  The index parameter in the even will let you know which actual lblDynamic fired the event.
I working on a GridLayoutManager, where you only must specify the grid coords for a dialog item on a vb form...

Perhaps for you of interest ...
Avatar of ngomte

ASKER

I did not get the specicfic answer.
This question appears to be abandoned. A question regarding it will be left in the Community Support
area; if you have any comment about the question, please leave it here.

Unless there is objection or further activity, one of the moderators will be asked to splits points between <emoreau> and ronenr .

The link to the Community Support area is:
https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

DO NOT ACCEPT THIS COMMENT AS AN ANSWER.
ngomte ->  You logged in recently, and I am about to process a point split between the two recommended experts for the help given here.  Please provide feedback, since help was requested, help given and .... we wait.  It is most helpful for your to respond to each expert as they givew you recommendations in terms of the results so you can achieve your goal and award those who help you in a timely manner.

Listening further.

Moondancer - EE Moderator
Thanks, point split, item closed.

Points for emoreau ->  https://www.experts-exchange.com/jsp/qShow.jsp?qid=20311742

ngomte  Date: 05/06/2002 11:16PM PST  ->  I did not get the specicfic answer.  

In the future, please remain active in all your questions here and be specific in your response to the experts in terms of your needs and what you feel is lacking.  This will help you reach your goal more quickly and eliminate time waste on everyone's behalf.  If you respond to each comment added for you with the results, clearly, the process will be expedited.

Thanks,

Moondancer - EE Moderator