Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange problems
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Strange problems
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00964110
Message ID:
00964110
Vues:
36
Hi everybody,

My C++ teacher once told, that code became mould after several years... I am looking now at my old applications and I notice some weird things, which I would consider bugs.

1. I am using gridhighlighter. I have a clone button on the form with the following code:
if not thisform.EditMode
	scatter memvar memo && This creates private variables, visible in other methods
	thisform.navstand.cmdAdd.click()
	gather memvar memo

else
	=messagebox("You can not clone a record while you haven't saved your changes!",48,'Clone function is not available')
	thisform.grdTable.setfocus()
endif
The record is copied properly, however, the textbox under cursor appears blank, e.g. the text is not visible. After I navigate to another record I see the text. I guess, I can solve this problem by moving focus to another object then back to grid, but why do I have this problem at the first place? Seems like a problem with gridhighlighter...

2. Speaking about highlighting record in a grid. I currently use some pre-set color for highlighting, which looked Ok in Windows 2000, but doesn't look nice in Windows XP. I would prefer to use the Windows highlight color instead. Do you know, how can I get these colors (I saw code from Marcia Akins doing that, but it would be tough for me to find it now).

3. I noticed, when I press a small picture button, it has an outline in yellow color. However, it doesn't disappear after I move focus to another button. Is is a VFP8 bug? I recall some discussions about it, but don't remember specifics.

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform