[Delphi]Custom hints bij DBNavigator

Pagina: 1
Acties:

  • Darkvater
  • Registratie: Januari 2001
  • Laatst online: 26-08-2024

Darkvater

oh really?

Topicstarter
Ik wil dus dit doen onder Delphi5, maar het wil maar niet lukken. Er staat in de help:
TDBNavigator.Hints
Provides a way to customize the Help Hints for the buttons on the database navigator.

property Hints: TStrings;
Use the Hints property to supply Help Hints of your choosing for the individual navigator buttons. Each button has a default Help Hint. Hints allow the values of any or all of these default Help Hints to be replaced by customized hints.

Hints is a string list. Each hint is a string. The first string in the string list becomes the Help Hint for the first button on the navigator (the First button). The seventh hint becomes the Help Hint for the seventh button (the Edit button).
Maar wat ik ook in de hints (TStrings) invul, ik krijg alleen maar de default hints te zien. Iemand enig idee hoe dit op te lossen is?


Windows Vista? *NEVER* Het waarom - Opera forever!!!
I've seen chickens that were more menacing. Chickens in a coma. On ice. In my fridge


  • ArieProductions
  • Registratie: Januari 2002
  • Laatst online: 27-11-2024
heb je de Hints in de StringList wel vervangen?

"Quidquid latine dictum sit, altum videtur" (Whatever is said in Latin sounds profound)


  • Darkvater
  • Registratie: Januari 2001
  • Laatst online: 26-08-2024

Darkvater

oh really?

Topicstarter
Op donderdag 14 februari 2002 18:44 schreef ArieProductions het volgende:
heb je de Hints in de StringList wel vervangen?
tuurlijk :)


Windows Vista? *NEVER* Het waarom - Opera forever!!!
I've seen chickens that were more menacing. Chickens in a coma. On ice. In my fridge


  • ArieProductions
  • Registratie: Januari 2002
  • Laatst online: 27-11-2024
idd vreemd gedrag....

Heb volgende in de create form gezet:
DBnavigator1.Hints.Add('ja en hier kan je drukken');

dus meest linkse knopje van DBNavigator heeft andere hint.

En vervolgens een knopje met:

DBNavigator1.Hints.Clear;

Gooit ie alleen zelf gemaakte hint weg en komt origineel weer terug

Ook wanneer de Hints in properties van DBNavigator zijn weggepleurd.

"Quidquid latine dictum sit, altum videtur" (Whatever is said in Latin sounds profound)