[Bug 2470] Menus disabled when a caption is changed

Wine Bugs wine-bugs at winehq.org
Wed Sep 8 09:50:41 CDT 2004


http://bugs.winehq.org/show_bug.cgi?id=2470





------- Additional Comments From mike at globalgroup.co.za  2004-08-09 09:50 -------
Created an attachment (id=684)
 --> (http://bugs.winehq.org/attachment.cgi?id=684&action=view)
Binaries of a proof of concept app (something to show the bug)

TestMenus is a proof of concept for a future TurboCash because:

1) It loads it's translations through a ZEOS-component db (in this case,
mysql-4.0)
2) It then changes the captions of the menus, lables etc from data gathered
from the db

Requirements:
 A running MySQL4 server

Installation
1) Unzip all under a directory near you.
1) Copy the language-database (the language folder situated in the /data
folder) to your mysql folder with your other db's in and restart your mysql
server (read install the language database onto your mysql server)

Usage:
1) Click on the text box that says "Username here" and enter a username that
has read access to your newly created language db.
2) Then enter the text box that says "Password here" and enter the password for
the user that has access to your language db.
3) Then enter the text box that says "IP adress here" and enter the ip adress
of the mysql server with the language db.
4) Click on connect
5) Notice that it now loads a list of languages from the server
6) Change the item in the "Please select a language" combobox and notice how
the lables and menu-captions changes.
7) To exit, click on Look->Exit or Kyk->Maak toe depending on what language you
loaded


How it works:
Check the sourcecode, it is fully commented.

The Win32 binaries is located under /bin (wow..) You have my (Mike van
Niekerk's, the author of this app) full permission to edit and change this
program (even for commercial reasons, dont know how this is going to help you
commercially in anyway... :-)), and please post on
http://bugs.winehq.org/show_bug.cgi?id=2470 how got it work under wine.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list