| View previous topic :: View next topic |
| Author |
Message |
DoT_PiTcH Contributor

Joined: 07 Aug 2002 Posts: 85
|
Posted: Fri Jan 28, 2011 8:49 pm Post subject: table |
|
|
when ever i add something to a table it auto generates the click event this is to include list loadfile after it loads the file, the click event is triggered.
any idea on this |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Fri Jan 28, 2011 11:11 pm Post subject: |
|
|
Use
After each process that generates a click event with the exception of when you intend there to be a click event. This will disgard the event when you don't want it.
-or-
Use the DBLCLICK attribute instead of CLICK with the Table Element
This is an inhierent issue of the ListView control. |
|
| Back to top |
|
 |
uvedese Contributor


Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Sat Jan 29, 2011 2:28 pm Post subject: |
|
|
If several events occur you can use:
| Code: | while @event()
wend |
_____________
http://uVeDeSe.es
_____________ |
|
| Back to top |
|
 |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Sat Jan 29, 2011 11:54 pm Post subject: |
|
|
Yes, i always use:
| Code: |
while @event()
wend
|
and it works perfect!! Try it... |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sun Jan 30, 2011 4:26 am Post subject: |
|
|
Good tip uvedese  |
|
| Back to top |
|
 |
DoT_PiTcH Contributor

Joined: 07 Aug 2002 Posts: 85
|
Posted: Mon Jan 31, 2011 4:21 pm Post subject: |
|
|
| Code: |
%E = event()
if %E
goto %E
else
goto evloop
end
|
so is that where i add the
| Code: |
while @event()
wend
|
|
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Mon Jan 31, 2011 5:14 pm Post subject: |
|
|
I would put it right after you add something to your table. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
DoT_PiTcH Contributor

Joined: 07 Aug 2002 Posts: 85
|
Posted: Mon Jan 31, 2011 5:51 pm Post subject: |
|
|
| Thank you, that worked great |
|
| Back to top |
|
 |
|