| Subject |
Re: SpeedTip followup |
| From |
Ken Mayer <dbase@nospam.goldenstag.net> |
| Date |
Wed, 22 Feb 2023 05:28:27 -0800 |
| Newsgroups |
dbase.getting-started |
On 2/22/2023 12:34 AM, Lee Grant wrote:
> Tom,
>
> After I ran it initially just to see what was supposed to be what, I
> then went in and checked the code, and realized your colors weren't
> switching because you didn't capitalize the "G" in the second color of
> the IIF() function. When you have to supply characters strings that are
> supposed to be a certain capitalization, you must supply that or it
> doesn't know what you want.
>
> This is what you had at line 73(notice lowercase 'g' in the second color
> choice. That's why it never switched again, it wasn't equal the first
> spelling:
>
> this.parent.colorNormal := iif( this.parent.colorNormal =
> "LightGrey","Fuchsia","Lightgrey")
>
> This at line 73 fixes the lack of toggle (watch wrap):
>
> this.parent.colorNormal := iif( this.parent.colorNormal =
> "LightGrey","Fuchsia","LightGrey")
Lee -- Oddly I don't see an issue here, I can toggle back and forth from
LightGrey to Fuchsia and back and forth (multiple attempts) just fine
with dBASE 2019 without changing anything in the code.
And since you mentioned it in your other response, I hovered the mouse
over the downarrow, and got the speedtip "Calender..." (every time I do
it) ...
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
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
dBASE DOS to Windows Tutorial:
http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm
|
|