Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 780

Getting Started with LiveCode - Complete Beginners • how to delete row in the polygrid?

$
0
0
Hello everyone,

I'm trying to delete a row in the polygrid but it doesn't delete the row I want to delete. I don't know if the word dispatch is ok to use in the polygrid or can use the repeat?

CODE:

on mouseUp put the hilitedline of widget "pgDetails"  into theLine   answer "The selected line var is : " & theLine   dispatch "deleteline" to widget "pgDetails"  with theLine   put the result into tDeleteresult      if tDeleteresult is not empty    then       answer "There has been a problem deleting the line with message: "&tDeleteresult   else      answer "Line Deleted"      end ifend mouseUp
what is the meaning of unhandled i just saw it see the pic below
breakpoint.png

polygrid.png

Statistics: Posted by lemodizon — Tue May 21, 2024 3:30 pm



Viewing all articles
Browse latest Browse all 780

Trending Articles