Hello,
I am thinking about the landscape and portrait mode handling in the same Basic4PPC program. I am asking myself if I must write different forms, one for each format, doing the same thing and show one or the other as a function of the orientation of the screen, to be able to better use the screen space.
This is not necessarily the most intelligent way of handling things (since I have to handle the fact that controls doing the same thing will have different names in different orientations.
Do you any idea for better handling this problem (which should be met by all of you)? One would need form generated events like HeightChanged (width, height) and WidthChanged (width, height) to be able to detect the change of the orientation. I do not think that these events do exist. Is there an intelligent way of simulating them? I know that FormLIb library does contain a detection event but I would not like to add a library just for this function since I am trying not to use any external library and develop my program on the base of a unique executable file. I would like to create a small and slick proggie. Basic4PPC sh/c/ould handle this, no?
Any advice on this issue?
Best regards,
Murat
I am thinking about the landscape and portrait mode handling in the same Basic4PPC program. I am asking myself if I must write different forms, one for each format, doing the same thing and show one or the other as a function of the orientation of the screen, to be able to better use the screen space.
This is not necessarily the most intelligent way of handling things (since I have to handle the fact that controls doing the same thing will have different names in different orientations.
Do you any idea for better handling this problem (which should be met by all of you)? One would need form generated events like HeightChanged (width, height) and WidthChanged (width, height) to be able to detect the change of the orientation. I do not think that these events do exist. Is there an intelligent way of simulating them? I know that FormLIb library does contain a detection event but I would not like to add a library just for this function since I am trying not to use any external library and develop my program on the base of a unique executable file. I would like to create a small and slick proggie. Basic4PPC sh/c/ould handle this, no?
Any advice on this issue?
Best regards,
Murat