Trying to save file. using file this code in B4XPages gives me the resulting screen with no filters. Any ideas?
Filechooser ShowSave:
Dim f As FileChooser
f.Initialize
f.Title="Save File"
f.InitialDirectory= File.DirApp
f.InitialFileName="test.jpg"
f.SetExtensionFilter("Image File", Array As String("*.*","*.jpg","*.png"))
f.ShowSave(B4XPages.GetNativeParent(Me))
Trying to save file. using file this code in B4XPages gives me the resulting screen with no filters. Any ideas?
Filechooser ShowSave:
Dim f As FileChooser
f.Initialize
f.Title="Save File"
f.InitialDirectory= File.DirApp
f.InitialFileName="test.jpg"
f.SetExtensionFilter("Image File", Array As String("*.*","*.jpg","*.png"))
f.ShowSave(B4XPages.GetNativeParent(Me))
I think this is part of setup of Explorer. Try this; go to control panel, find Explorer options, under View Tab try to find Option Hide suffix for known file types... It's need to be set to false...
Trying to save file. using file this code in B4XPages gives me the resulting screen with no filters. Any ideas?
Filechooser ShowSave:
Dim f As FileChooser
f.Initialize
f.Title="Save File"
f.InitialDirectory= File.DirApp
f.InitialFileName="test.jpg"
f.SetExtensionFilter("Image File", Array As String("*.*","*.jpg","*.png"))
f.ShowSave(B4XPages.GetNativeParent(Me))
I think this is part of setup of Explorer. Try this; go to control panel, find Explorer options, under View Tab try to find Option Hide suffix for known file types... It's need to be set to false...