B4J Question Filechooser and windows 11

Lildinti

Member
Licensed User
Longtime User
Hi all,

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))



Cheers,

Lildinti
 
Solution
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...

Link with video:

DarkoT

Active Member
Licensed User
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...

Link with video:
 
Upvote 0
Solution
Cookies are required to use this site. You must accept them to continue using the site. Learn more…