B4J Question FileChooser in PreferencesDialog.bas [SOLVED]

Magma

Expert
Licensed User
Longtime User
Hi there...

I wanna create a custom Item for B4X PreferencesDialog... when user click at a label to get FileChooser showopen...

I am using that (thought will like b4xpages):
B4X:
    Dim whatfile As String
    fc.Initialize
    fc.Title="my title"
    whatfile=fc.ShowOpen(B4XPages.GetNativeParent(Me))

also tried to show at parent b4xview getting it as MMBASE=Parent (From initialize) --> MMBASE...
tried at Dialog.Base.Parent too but getting error...

Where exactly I must target to show it ?

With getnativeparrent .. getting this error (the other give different):
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…