Subject |
Re: htmlliink cc |
From |
Ken Mayer <dbase@nospam.goldenstag.net> |
Date |
Sat, 1 Feb 2020 12:12:28 -0800 |
Newsgroups |
dbase.getting-started |
On 2/1/2020 8:45 AM, Charlie wrote:
> Hi..
>
> I'm working with the htmllink.cc and it works great with a problem.
>
> I am in a form that basically shows my inventory. I now have auction numbers for items in that form which is new. So what I am doing is have the link show above an entryfield with the auction number. If you click on the link it goes directly to that auction on my site so you can view it. That works fine.
>
> But throughout my inventory if you browse there are many, many items that have a quantity of zero and have no auction number or the number zero as this is a numeric field.
>
> So if you click on the link above a zero auction number it takes you to internet explorer which is not what I want.
>
> I would just like it to do nothing if the number is zero.
>
> To fix this will I have to alter htmllink or can I do it somehow in my inventory form? I tried an if else statement in navigation but that doesn't do anything because the navigation has already happened.
>
> Thanks for any help!!
>
>
You will probably need to do something in an onNavigate that checks the
value, and then sets the visible property to false if the number is
zero, and true if it is > 0 ...
If you set it to a visible of false it should immediately turn off the
display ...
Ken
--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
|
|