Hello,
I thought maybe somebody could help me with my problem. In a form I would like to mark the actual record (where the cursor is placed) with bold letters or in another font color. Is this possible and how can I do this. Any suggestions would be fine.
Thanks
Jochen
0
Comments
I thought Timo Lasser had a solution for this.
I'll try to remember it...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Here is an example:
Copy the Code into an new, empty text-File. Import the textfile in the (CRONUS DB), compile the new form 99999.
After them, take a look in the C/AL Code of the both textboxes (enjoy).
Regards
Regards
PS: Are you every time online :?: 8-[
So THAT's how he does it
http://www.BiloBeauty.com
http://www.autismspeaks.org
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
For example an other way to update the form, is to uese the key-events (up, down). Place a menubutton behind the tablebox. make two entries. Give the entries the key events up, down (make there your update).
When the user will use the mouse, you can use the tablebox triggers.
Regards
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
You have to think of manualy programming next(1) and next(-1) and error handling... :?
And do this for every form the user says he likes it.
Maybe it was better to say it cannot be done
And Gods can programming all.
Regards.
I tried this code, but it doesn't work the it expected it to work. The current record is indeed in BOLD, but the previous current record is also left BOLD. This should be turned back to NOT BOLD.
The problem is that the OnFormat tirgger is only executed for the new current record. Not for the previous one.
Any suggestions?
Erwin
Question is: what is the main cause that you are trying to do that? Can you solve this in another way? You need to answer these two basic questions...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.