Infamous Blinking Field

Savatage
Savatage Member Posts: 7,142
edited 2007-11-11 in General Chat
Blink type Boolean

OnTimer()
Blink := NOT Blink;
CurrForm."NavField".VISIBLE(Blink OR ("NavField"=''));

Now set the TimerInterval of the form (250 or lower is fun)
:whistle:

Comments

  • ssingla
    ssingla Member Posts: 2,973
    That is cool.... :whistle: :whistle:
    CA Sandeep Singla
    http://ssdynamics.co.in
  • David_Singleton
    David_Singleton Member Posts: 5,479
    Savatage wrote:
    Blink type Boolean

    OnTimer()
    Blink := NOT Blink;
    CurrForm."NavField".VISIBLE(Blink OR ("NavField"=''));

    Now set the TimerInterval of the form (250 or lower is fun)
    :whistle:

    PPPlllllleeeeaaaasssseee NNnnnnnnnnoooooooooo!
    David Singleton
  • DenSter
    DenSter Member Posts: 8,307
    Have fun debugging that form :)
  • ara3n
    ara3n Member Posts: 9,258
    LS-Retail POS form has timer and it's not fun debugging that form.

    It was even worse when we didn't have breakpoints.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Savatage
    Savatage Member Posts: 7,142
    blinking fields are possible but totally - not recommended.
    It came to mind after that post about setting the timerinterval with code.

    :evil:

    never use it on an editable field.

    I think I got this from Nelson Alberto from msbonline back in 2003 or so. :-k
  • David_Singleton
    David_Singleton Member Posts: 5,479
    Savatage wrote:
    blinking fields are possible but totally - not recommended.
    It came to mind after that post about setting the timerinterval with code.

    :evil:

    never use it on an editable field.

    I think I got this from Nelson Alberto from msbonline back in 2003 or so. :-k

    Yes I remember it back then, and it got the same reactions. If you like I can dig it up, and I am sure Erik will gladly donate that post to Luc.

    :mrgreen:
    David Singleton
  • ssingla
    ssingla Member Posts: 2,973
    Never Mind...... It is still something to generate interest in the features of Navision which makes it stand so special in the crowd of other ERP's.
    CA Sandeep Singla
    http://ssdynamics.co.in
  • DenSter
    DenSter Member Posts: 8,307
    Generally, companies that are interested in purchasing an ERP system are not looking for blinking field functionality. I really don't think that the capability to have a blinking field will make NAV stand out in comparison to other ERP systems.... :-k
  • Savatage
    Savatage Member Posts: 7,142
    The only place I thought It might be useful was on the old Pre 4.0 versions.

    There were many posts about telling the difference between real & test companies. I thought A blinking field on the main menu saying "TEST" would be useful.

    But that's about it.
  • DenSter
    DenSter Member Posts: 8,307
    Right or if you want snowflakes to fall down on a christmas themed main menu for instance :mrgreen:
  • Miklos_Hollender
    Miklos_Hollender Member Posts: 1,598
    Way cool! Retro website compo :)

    What about a marquee?

    (TimerInterval: 50)

    IF CurrForm.TxtField.XPOS+CurrForm.TxtField.WIDTH<0 THEN BEGIN
    CurrForm.TxtField.XPOS:=CurrForm.WIDTH;
    END;
    CurrForm.TxtField.XPOS:=CurrForm.TxtField.XPOS-100;