I wanted to use a DesktopPopupMenu, but I have troubles with this new BASIC. What lust I use ?
Selected_Contact = item.Text
System.DebugLog "Me.SelectRowText: " + PM_Source.SelectedRowText
I wanted to use a DesktopPopupMenu, but I have troubles with this new BASIC. What lust I use ?
Selected_Contact = item.Text
System.DebugLog "Me.SelectRowText: " + PM_Source.SelectedRowText
Iâm sure you know what âSelected_Contactâ and âitemâ are. Maybe Selected_Contact is a string? item could be a TextField?
I guess PM_Source is your DesktopPopupMenu.
I donât understand the question. Sorry.
Sorry.
Item is the Event parameter.
Selected_Co,tact is a String
PM_Source is the DesktopPopupMenu
The code above is in a DesktopPopupMenu Event (Pressed or so).
I wanted to get the DesktopPopupMenu Selected Text⊠and found two ways to get it.
It was disturbing me.
In fact, I was far more disturbed (by what ?) I wrote some 20-30 lines and wasted 2 days to debug them.
As usual, something simple. To debug it correctly, I draw some shema, add Var names where needed, then read and correct my spaghetti code.
Now that code works (but the Mehtods it calls do not works any more).
I stopped to look at it 2 days ago. Itâs good to be retired, I have plenty of time to let things âon handsâ then resume sometimes later when the brain is back to work on that..