Home » Developer & Programmer » Forms » Very very urgent
Very very urgent [message #85241] Thu, 10 June 2004 19:50 Go to next message
Sreela
Messages: 3
Registered: June 2004
Junior Member
Hi

How can we select multiple records inside a block
using shift key and/or ctrl keys.

If anybody can help me on this? It is very urgent.

Thanks in Advance

Sreela
Re: Very very urgent [message #85243 is a reply to message #85241] Thu, 10 June 2004 21:41 Go to previous messageGo to next message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
You cannot do so.
This can be done only if you have Drop down box or a Tree item in the Form.
So, make a Non-database item say a Checkbox and place it in the Mutiple Row block.
Now which ever record is checked it is equivalent to selected.
You can also add buttons to Check or Uncehck all the checkboxes with a single click.

HTH
Regards
Himanshu
Re: Very very urgent [message #85245 is a reply to message #85241] Thu, 10 June 2004 22:30 Go to previous messageGo to next message
Sreela
Messages: 3
Registered: June 2004
Junior Member
Himanshu

Thanks for the information.

But can't we create a Key Trigger so that on pressing a key or combination of keys (for example SHIFT+CTRL)
the current visual attribute or background color can be changed dynamically.

Please help me as this is very urgent.

Regards

Sreela
Re: Very very urgent [message #85251 is a reply to message #85245] Fri, 11 June 2004 01:10 Go to previous message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Yes this is possible.
But this has to be done at Item level and not at Record level.
For e.g. if you have a Mutirecord block containing Columns Empno,Ename & you want that for whichever record you check the Checkbox or Say press some User defined function key then color of that record should change then do it as follows:
Set_Item_Instance_Property('EMP.EMPNO',Current_Record,VISUAL_ATTRIBUTE,'TAB_PAGE_REC');

HTH
Regards
Himanshu
Previous Topic: urgent urgent
Next Topic: urgent urgent
Goto Forum:
  


Current Time: Tue May 07 14:56:32 CDT 2024