OpenFileRequeter in FullScreen mode?

Just starting out? Need help? Post your questions and find answers here.
User avatar
Otrebor
Enthusiast
Enthusiast
Posts: 201
Joined: Mon Mar 17, 2014 1:42 pm
Location: São Paulo, Brasil
Contact:

OpenFileRequeter in FullScreen mode?

Post by Otrebor »

Hi

Is possible to adjust the size of OpenFileRequester dialog when in FullScreen?

Code: Select all

InitKeyboard()
Procedure MenuSCR()
  Pattern$ = "Text (*.txt)|*.txt;*.bat|PureBasic (*.pb)|*.pb|All files (*.*)|*.*"
  Pattern = 0    ; use the first of the three possible patterns as standard
  File$ = OpenFileRequester("Please choose file to load", StandardFile$, Pattern$, Pattern)
  End
EndProcedure


If InitSprite() And OpenScreen(640,480,32,"test",#PB_Screen_WaitSynchronization)
  


  
  Repeat
    Delay(10)
    ExamineKeyboard()
    If KeyboardPushed(#PB_Key_Escape)
      End
    ElseIf KeyboardPushed(#PB_Key_F2)
      MenuSCR()
    EndIf
  ForEver
  
EndIf