Bonjour,
Je n'arrive vraiment pas à m'y retrouver dans l'aide de C++ Builder. Est-ce qu'il existe un bon vieux fichier à la BCB6 ?
Lorsque je cherche une classe, TStringList par exemple, je vois le nom des fonctions mais je n'ai pas de description des paramètres d'entrée, sorties, par exemple :
contrairement à l'aide de BCB6
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 Pascal function AddObject(const S: string; AObject: TObject): Integer; override; C++ int AddObject(string Sconst, TObject AObject); Description AddObject, membre de la classe TStringList.
Désolé de faire du copier coller, mais je travail avec mes BCB ouvert, le 6 pour l'aide !
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 Adds a string to the list, and associates an object with the string. virtual int __fastcall AddObject(const AnsiString S, System::TObject* AObject); Description Call AddObject to add a string and its associated object to the list. AddObject returns the index of the new string and object. Note: The TStringList object does not own the objects you add this way. Objects added to the TStringList object still exist even if the TStringList instance is destroyed. They must be explicitly destroyed by the application. Note: For sorted lists, Add will throw an EListError exception if the string S already appears in the list and Duplicates is set to dupError. If Duplicates is set to dupIgnore, trying to add a duplicate string causes AddObject to return the index of the existing entry.
Autre exemple malheureux et misérable, je n'ai pas la classe AnsiString dans l'aide.
Avez vous une solution ??
Merci de votre aide
Partager