problem with listview

bgsoft

Well-Known Member
Licensed User
Longtime User
Hello

I created a class module, and initialize it works well.
In this class module called from a layout, and then make the call to initialize from a layout button executes the instruction FOLLOWING the call.
All we believe in design time in this class module works well.

B4X:
Sub Button1_Click

   BGSExplo.Initialize (Activity, "/", ". Jpg,. Png,. Gif", True, "Select Folder", "OK",

"Cancel", False)

  Log ("out of BGSExplo.Initialize")

[/ code]

I created a module called within the class. And it created a loop so that does not leave.
The problem is that the "Item Click" of a listview not working.

[code]

Public Sub Show () As Boolean

   WaitUntilOK = true

   Do While WaitUntilOK
      DoEvents
   Loop

[/ code]

I have a button that put the WaitUntilOK = false and exits the loop, the click of the button works, but the ListView1_ItemClick no.

Any idea?

thanks

Jesus
 

bgsoft

Well-Known Member
Licensed User
Longtime User
sorry, did not remove the space at the end of code :sign0013:
 
Upvote 0

yttrium

Active Member
Licensed User
Longtime User
sorry, did not remove the space at the end of code :sign0013:

There is an edit button.

B4X:
Sub Button1_Click
BGSExplo.Initialize (Activity, "/", ". Jpg,. Png,. Gif", True, "Select Folder", "OK",
"Cancel", False)
Log ("out of BGSExplo.Initialize")

I created a module called within the class. And it created a loop so that does not leave.
The problem is that the "Item Click" of a listview not working.

B4X:
Public Sub Show () As Boolean
WaitUntilOK = true
Do While WaitUntilOK
DoEvents
Loop
 
Upvote 0
Top