Emphasizing fields on a form by "blinking"

Hi, I didn’t find a property for this, but eventhough I would like to ask if anyone knows if (and how) you can emphasize a field in a form bij “blinking” (simular as you can adjust the size, the color or the “bold”-property). I’m still working with Navision 2.01… perhaps that’s te reason ? Ria

Let the OnTimer trigger call a blink function: Blink := NOT Blink; CurrForm.MyField.VISIBLE(Blink); But I guess the OnTimer function isn’t available in ver. 2.01? Good thing too, as this can be quite annoying imho [:P]

LOL, just tried your code Steffen, and the result is hilarious!!! Oh boy, gotta find a good excuse to slip this into a live database, hehehe [:D] [:p]

I might just have a use for this. Our Warehouse people are typing over our miscellaneous packages that have already been entered and not posted yet. They continually do not hit F3 for a new package #. The main reason for this is that the main tab does not contain the “ship to name” field. so to them it looks like an unused number. so, I added the “ship-to name” to there tab (not editable, yellow & bold) So if they see a name in this field they will know the package number is used and to hit F3-enter to get a new #. I added the blinking code and it works great. can you say if ship-to name is blank don’t run the code & if it’s not blank then run the code?

I’ll anticipate Steffen and say “Sure you can”: Blink := NOT Blink; CurrForm.MyField.VISIBLE(Blink OR (MyField = ‘’));

CurrForm.MyField.VISIBLE(NOT CurrForm.MyField.VISIBLE)

I strongly advise you not to use timers unless there is no other solution. Debugging a form with a timer is annoying as hell!! [V]

quote:

Let the OnTimer trigger call a blink function: Blink := NOT Blink; CurrForm.MyField.VISIBLE(Blink);
Originally posted by Steffen Voel - 2004 Nov 15 : 17:41:24

Thanks Steffen, What a smart idea to consider something like this! I don’t think they invented the on-time trigger for this purpose, but it works perfectly. What a luck you can alter the TimerInterval, or it would be quite annoying indeed. Ria

quote:

CurrForm.MyField.VISIBLE(NOT CurrForm.MyField.VISIBLE)
Originally posted by smagi - 2004 Nov 17 : 09:09:13

I suppose you meant this in combination with the on-time trigger ? (in spite of the remark of Alex, although he was right of course)

quote:

LOL, just tried your code Steffen, and the result is hilarious!!! Oh boy, gotta find a good excuse to slip this into a live database, hehehe [:D] [:p]
Originally posted by nelson - 2004 Nov 15 : 21:43:48

You tried this on a Tabular-Type Form? Then I don’t think you will get away with that in a live database.[:D]

Hello, Since the OnTimer thing is really annoying, as Alex remarked, I suggest to use something like this: CurrForm.txtNo.UPDATEFORECOLOR(255); or CurrForm.txtNo.UPDATEFONTBOLD(TRUE); Color it to something else and the user ought to see it![:)]

quote:

You tried this on a Tabular-Type Form? Then I don’t think you will get away with that in a live database.[:D]
Originally posted by PeterD - 2004 Nov 17 : 10:10:18

Ah! Ye olde disappearing column bug!!! [:D]

quote:

I’ll anticipate Steffen and say “Sure you can”: Blink := NOT Blink; CurrForm.MyField.VISIBLE(Blink OR (MyField = ‘’));
Originally posted by nelson - 2004 Nov 16 : 17:40:55

[:P][Yeah!] SWEEEEEEEEET - Works perfectly~!

quote:

You tried this on a Tabular-Type Form? Then

Just to complete an “old” post… the tabular-type form can also handle “blinking” fields… the idea is the same, but of course you cannot use VISIBLE in the tabular-type formats, but you should use the OnFormat trigger… Saludos Nils
Attachment:F50049 Blinking Field.zip ( 1807bytes )

Nice feature, but have you considered the Navision Styleguide ? You might get problems arguing this in an ISV test when certifiying an AddOn.

quote:

but have you considered the Navision Styleguide

well, it’s just a sample put together in 3 min to give an idea on how to make text “blink” in tabular type forms, I know that the ‘PCS’ part is not quite Navision-like, but it fit’s the purpose to show the possible conditions that can be included… As I don’t have the intention to register this as an add-on, and anyway this blinking stuff won’t pass the Navision style at all, therefore no need to argue [;)] Saludos Nils

If the customer comes to you with a hand full of money, saying ‘if you make this field blink I will give you this cash’ would you tell him ‘no that is not in the styleguide I cannot do that’?

Thanks Daniel, you hit the nail on the head… (again, all those german sayings, that i don’t know the equivalent for in english…den Nagel auf den Kopf treffen…) … and of course, there are a lot of customer requirements that won’t fulfill the styleguide, but one has to make a living. Saludos Nils

I know the same saying in Dutch (de spijker op de kop slaan), and I believe it’s the same in English as well, and I would not be surprised if its origins are German or Dutch either. I love these phrases that are translated directly, gives you an idea of how metaphores are made in different languages.

quote:

If the customer comes to you with a hand full of money, saying ‘if you make this field blink I will give you this cash’ would you tell him ‘no that is not in the styleguide I cannot do that’?
Originally posted by DenSter - 2006 Feb 14 : 01:14:35

YES - I would - - People also call me ‘The GUI Police’. But yes - I flat out refuse to do things that do NOT make any sence.