Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
6
Erster Beitrag:
vor 8 Jahren, 4 Monaten
Letzter Beitrag:
vor 8 Jahren, 4 Monaten
Beteiligte Autoren:
Al, Mitchell, Fabrice Harari.pcs.crosspost, Jimbo

Captions - Texts

Startbeitrag von Mitchell am 15.08.2009 13:56

How to capture all the captions or text for all the forms of my Windev application?

suppose I have one complete Windev Project with a lot of forms inside and reports, How to automatically capture the captions of all the forms? captions of all the controls inside of each form? how to achieve this automatically?
my purpose is to build a dictionary based on the captions of all the controls of my app.

advise please.

Thanks
Mitchell

Antworten:


EnumElement(..) does the magic.
Guenter

von Jimbo - am 15.08.2009 14:13
Hello Mitchell

Have a look at the code for the Windev inbuilt groupware. It actually does all of the things you are asking about, as it builds the interface to select items for groupware.

Regards
Al

von Al - am 15.08.2009 22:15
Thanks Al for the tip, Im still looking on it, but could found any sample. or how it will be done.

regards

von Mitchell - am 16.08.2009 08:38
Hello Mitchell

When you run the Windev groupware in an app, it loads a table of all the window controls and you can nominate which controls are available to users. The process it uses to do this is something I think you could use to build your dictionary.

The window is GPWConfigurationDetails.wdw. It will be in your C:\Windev12\programs\data\gpw\wd folder. Have a look at the "Refresh" local procedure and it's associated Fill... procedures.

There is also a wizard in the Guide that will write some of the code for you.

Regards
Al

von Al - am 16.08.2009 09:34
Hi Mitchell...

if you buy the translation tool sold by pcsoft (wdtrans, wdInt,
something like that), it contains a tool made for extracting all the
cations you are looking for into a text file for external translation
(and injection of the translation later)

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on http://www.fabriceharari.com


Mitchell wrote:
> How to capture all the captions or text for all the forms of my Windev application?
> suppose I have one complete Windev Project with a lot of forms inside and reports, How to automatically capture the captions of all the forms? captions of all the controls inside of each form? how to achieve this automatically?
> my purpose is to build a dictionary based on the captions of all the controls of my app.
> advise please.
> Thanks
> Mitchell
>
Message forwarded from pcsoft.us.windev

von Fabrice Harari.pcs.crosspost - am 16.08.2009 09:42
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.