![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I have used the ImageLib library to draw a rather complex image on the form made out of a hundred small images (with transparency) and some text. From time to time I plan to cover the entire screen with a messagewindow made of a large image with text on it and wonder if anybody knows of a way to store the original information (in a bitmap?) of the form so I can restore the screen after the messagewindow is closed without redraw all the hundres small images? I have tried to draw the messagewindow on the forelayer but this causes the screen to flicker (I don't konw how to stop the automatic refresh of the forelayer). I have also tried to use images and imagebuttons but they don't handle transparency or positioning of the text. Sincerely, Max Tillberg |
|
|||
|
To be able to use two full screen forms I guess I have to use the following code
Code:
Sub App_StartForm1.Show flb.New1("Form1",B4PObject(1)) flb.FullScreen(CPPC) flb.New1("Form2",B4PObject(1)) flb.FullScreen(CPPC) drawer.New1("Form1",false)End Sub drawer.New1("Form2",false) 'After a button is pressed '...Draw the information on Form2 'And finaly Form2.Close 'after a new button is pressed Sincerely, Max Tillberg |
|
|||
|
The second form was fullscreen on the PC but not the PocketPC.
I added a second formlib and changed the code to flb1.New1("Form1",B4PObject(1)) flb1.FullScreen(CPPC) flb2.New1("Form2",B4PObject(1)) flb2.FullScreen(CPPC) Should I use two drawers as well? Sincerely, Max Tillberg |
|
|||
|
Hi again,
One more question about using two full screen forms. When I run the program on a PC the program window remember it's position for each form; if I move the progam window when the message window form is open, the entire program moves to it's original position when I hide this form. Is there a way to avoid this? Sincerely, Max Tillberg |
|
||||
|
A form has undocumented Top and Left properties. See this link
Is there a way to keep the screen in the same location. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FilesEx library - returns file information | agraham | Additional Libraries | 13 | 07-25-2008 04:23 PM |
| How catch a selected treeview item information by mouse ? | dan kabestan | Questions & Help Needed | 2 | 01-08-2008 06:30 PM |
| Reading com ports information from the registry | Erel | Code Samples & Tips | 4 | 11-23-2007 01:09 PM |
| save filter of a table | manu | Questions & Help Needed | 4 | 08-23-2007 03:46 PM |
| How to set the Version Information in the exe file ? | XerVision | Questions & Help Needed | 1 | 08-10-2007 07:01 AM |