Posted 20 June 2006 - 11:09 AM
The Pro IV newbie is asking yet another question already.
I have this paging screen. When in contracted mode, a record is only 1 line, otherwise it is 5 lines.
I have a little button on each line.
When the user clicks this button the lines should expand (F9) and set a few fields to VISIBLE = TRUE.
Is there a way of issuing a F9 function call from within my button logic?
Posted 20 June 2006 - 11:20 AM
Yes: just attach the key value 9 (of the expand key) to the button and in any of the fields of your paging screen check if #&@LCTRF is set (BITON or BITOFF). If on your screen is in expanded mode and you can display the missing fields.
Posted 22 June 2006 - 05:57 PM
Not as far as I know. You can only:
- force the screen to start in either contracted or expanded mode
- suppress the contracted mode for any of the modes of the screen
There are no properties to change these settings and you can not stuff the keyboard with the expand key at will. At least not when I tried it a fair while back.
Just something you/we have to live with.
Posted 23 June 2006 - 09:03 AM
need to set fields visible when going into
expand mode? Won't they automatically
become visible (and conversely be hidden
in contracted mode)?
And logic related to the expanded fields can
be done in fld logic independant of the expand/contract
switching. And if you attach the function key value '18'
to your button it will toggle the modes.
of the poster and do not represent those of any organisation.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users