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