fullscreen problem

cpc6128

Member
Licensed User
The attached code runs fine in the IDE on my PC but not (when compiled) on my PPC (xda orbit2).
The code is supposed to put the form into fullscreen mode, then fill the form with blocks and finally copy the contents of the form to the game window.
The problem seems to be the line

gwGame.DrawBackgroundImage2(formGame.Image)

as the compiled program will run without it.
Has anybody else had this problem or could suggest a solution?
If I were able to draw directly to a game window I could do without that line but this does not seem to be possible.
 

Attachments

kaninjo

New Member
Hello!

Need some help :) ... I wrote a simple Welcome screen for my friends PNA, but I have a little problem with the fullscreen mode. It doesnot fills the screen. Tried, to set the screen size in the Form1 to 320x240, and 320x234 too (manufacturer says, this is the native resolution), but nothing... The bottom of the screen is not "filled" with the window.
Taskbar is disabled in Win.
What is missing, or what is wrong? The code:
B4X:
Sub Globals
   'Declare the global variables here.

End Sub

Sub App_Start
   Form1.Show
   flb.New1("Form1",B4PObject(1))
      flb.FullScreen(CPPC) 'On the device it will remove the title bar too

End Sub


Sub ImageButton1_Click
Shell("\sdmmc\navngo.exe","")

End Sub

Sub ImageButton2_Click
Shell("\MyStorage\CC\player.exe","")
End Sub
Thanks, and Best Regards
Kaninjo
 

Attachments

kaninjo

New Member
Hi!

Klaus!
Tried the code. The bottom of the screen is still not filled at any resolution... :(

P.S.: If I start the program from the explorer window, the scroll bar (of the expl. window) on the bottom is visible, but can't be actuated.
 
Top