I'm having some trouble getting to grips with creating dialogs using PowerGen. I have written a Win 3.1 app with VB4 and I want to compile it with PB/DLL 2. It is a fairly simple app but it's quite dialog-intensive. I need to be able to add, move and resize controls on the fly and so far it is completely beyond me. VB makes it so simple <sigh>.
Does anyone have a simple example of how to do this? The simpler the better...
Or if some kind soul wanted to write some sample code for the benefit of myself and other would-be VB converts, the ideal example would be a form with a button that on the first press creates, say, a text box.
On the second press it moves the textbox, and on the third press resizes it.
Or something along those lines, bearing in mind that all people like me know is "Load frmMain.Text(1)" and "frmMain.Text(1).left=xxx" etc. Long detailed comments are GOOD...
Any help will be very much appreciated.
Ray Greene
Does anyone have a simple example of how to do this? The simpler the better...
Or if some kind soul wanted to write some sample code for the benefit of myself and other would-be VB converts, the ideal example would be a form with a button that on the first press creates, say, a text box.
On the second press it moves the textbox, and on the third press resizes it.
Or something along those lines, bearing in mind that all people like me know is "Load frmMain.Text(1)" and "frmMain.Text(1).left=xxx" etc. Long detailed comments are GOOD...
Any help will be very much appreciated.
Ray Greene
Comment