-
Dynamic Controls thingy
'llo
Ok, I have a small problem, I need to create a VB Macro for Word 2000 with a nice row of dynamically created objects. But to my suprise I see that the Forms 2.0 Commandbutton does NOT support Indexes.. This didn't make me a happy man :(
So how can I solve this is a quicky way?
My app has to create a few buttons (all the same size etc) in a row. The window itself has to adjust itself to the size of the buttons (ea. Window.width = lastbutton.left + lastbutton.width + 200)
I tried creating a usercontrol object but it doesn't allow me to change the with of the usercontrol. Nor can I additems (I had created something like Property Let Additem(indexnr as integer, name as string, sTag as string). But it didn't work :P
So if someone has a clue which way I can best create the macro, please respond :)
Thanks in advance,