gjoisa Active Member Licensed User Longtime User Nov 3, 2024 #1 I am using a B4X SearchTemplate along with B4XDialog to search a large City list . When Button named "Place" clicked first time it displayed as expected . But after closing dialog if I click Place button again , SearchTemplate is not displayed correctly . It does not show place list . I am attaching my project here .
I am using a B4X SearchTemplate along with B4XDialog to search a large City list . When Button named "Place" clicked first time it displayed as expected . But after closing dialog if I click Place button again , SearchTemplate is not displayed correctly . It does not show place list . I am attaching my project here .
gjoisa Active Member Licensed User Longtime User Nov 3, 2024 #2 Attached file here Attachments Search.zip Search.zip 237.7 KB · Views: 294 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 3, 2024 #3 In B4i and B4J you should never use %x or %y outside of the Resize event (or the designer script). Code: Copy Private Sub Page1_Resize (Width As Float, Height As Float) If SeT.IsInitialized Then SeT.Resize(95%x,90%y) End If End Sub Upvote 0
In B4i and B4J you should never use %x or %y outside of the Resize event (or the designer script). Code: Copy Private Sub Page1_Resize (Width As Float, Height As Float) If SeT.IsInitialized Then SeT.Resize(95%x,90%y) End If End Sub
gjoisa Active Member Licensed User Longtime User Nov 3, 2024 #4 Thank you .This one solved . But in the same project , after selecting in searchtemplate , I have to get Latitude longitude details from another text file . It is taking too long to get details . But the same is working in android within seconds . Attaching modified project . Attachments Search.zip Search.zip 395.2 KB · Views: 275 Upvote 0
Thank you .This one solved . But in the same project , after selecting in searchtemplate , I have to get Latitude longitude details from another text file . It is taking too long to get details . But the same is working in android within seconds . Attaching modified project .