P
Patrick Tingen
Guest
I am looking for a way to create a wizard-like program in pure 4GL. In the past I have created things like this by defining a window, drawing multiple frames on it and showing/hiding them at the right time. This works ok if you have a few frames but if the frames are larger or when you have more than just a few frames, it becomes cumbersome very fast. Alternative way would be to use includes, but I only use includes for definitions and stopped using includes for real code somewhere at the end of the previous century. Yet another method would be to use a smartfolder with ADM2, but ADM2 seems a bit - well - old. Even another way would be to use a tabstrip control, but that feels not good as well. So what remains? I have been playing a bit with separate windows, setting the attribute 'Suppress Window' in the windows that form the elements of the wizard. This makes sure that the frame of the program you start is created inside the current window. So it behaves a bit the way I want it, but not entirely; program flow is held in the program you start. This can be overcome by starting the elements of the wizard as persistent programs, but then you end up having multiple programs active in the same window and if you close the window, you need to click the close-window cross (upper right of the window itself) as many times as there are elements. Not ideal. Is there a better way to do this?
Continue reading...
Continue reading...