User Profile
Collapse
-
I am using it in a CAD software which uses VBA extension capability (with VBE). I access this through the APC6.0 reference lib. -
-
Thank you ADezii.
I have tried this already, but the oLstBx object sets to "Nothing" the moment the event is over. This prevents me from accessing its methods and properties outside the event, but yet, within the context of the class module.Leave a comment:
-
Hi zmbd,
Thanks for your kind and prompt reply.
Firstly, sorry about not following the posting guidelines... I had made a rushed attempt... desperate to find a solution.
To answer your question:
The userform is created dynamically based on some input from the user. The number of listboxes correspond to this user input.
The idea is to allow the user to enable the first listbox, add or...Leave a comment:
-
How to pass listbox object from event procedure in Class Module
Hi,
I have a userform which has some command buttons and multiple listboxes in VBA.
I have a class module which handles events on the form, and a code in the form's initialization section which sets the reference to the class module (depending on which control is clicked).
What I am struggling with, is as follows:
When the user clicks on a listbox, it is enabled. This is fine so far. The...Last edited by zmbd; Feb 7 '13, 02:36 PM. Reason: [Z{Please use the <CODE/> button to format posted code/html/sql and Read the FAQ}[Took out some weird extra spacing}]
No activity results to display
Show More
Leave a comment: