Gets and languages

Gets and languages

Postby Dietmar Jahnel » Mon Dec 04, 2006 10:14 am

In this sample when I right click for the copy/paste menu I get it
- in german (one line get)
- in english (multiline get)
why? how can I cange to german?
Thanks,
Dietmar



#include "Fivewin.ch"

FUNCTION MAIN()


DEFINE DIALOG copyDlg FROM 10, 20 TO 35, 90 TITLE "RIDA-Indexdokument kopierbar"

copyText = "Memo "

@0.5, 0.5 GET copyText of copyDlg;

@2, 2 GET copyText of copyDlg;
MEMO;
SIZE 100, 100;
READONLY;

@ 9.5, 20 BUTTON "&Beenden" OF copyDlg SIZE 40, 12;
ACTION ( copyDlg:End(), lOk := .t. ) DEFAULT


ACTIVATE DIALOG copyDlg CENTERED

RETURN NIL
User avatar
Dietmar Jahnel
 
Posts: 83
Joined: Mon Oct 17, 2005 10:33 am
Location: Austria

Postby Taiwan » Mon Dec 04, 2006 10:29 am

Hello Dietmar,

Check your TGet and MGet source code for Right click.

Regards,

Richard
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Dietmar Jahnel » Mon Dec 04, 2006 10:59 am

That' what I did.

I couldn't find anything in these two classes.
I figured the code must be somewhere else - that's why I don't understand the difference in languages.

Dietmar
User avatar
Dietmar Jahnel
 
Posts: 83
Joined: Mon Oct 17, 2005 10:33 am
Location: Austria

Postby Taiwan » Mon Dec 04, 2006 11:07 am

Check this in your source\CLASS

Code: Select all  Expand view
METHOD RButtonDown( nRow, nCol, nFlags ) CLASS TGet
METHOD RButtonDown( nRow, nCol, nFlags ) CLASS TMultiGet


Richard
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Dietmar Jahnel » Mon Dec 04, 2006 11:14 am

Your are right:

tGet invokes the default popup menu,
mGet has its own in english.

Thanks!
Diemtar
User avatar
Dietmar Jahnel
 
Posts: 83
Joined: Mon Oct 17, 2005 10:33 am
Location: Austria

Postby Taiwan » Tue Dec 05, 2006 2:00 am

Dietmar Jahnel wrote:Your are right:

tGet invokes the default popup menu,
mGet has its own in english.

Thanks!
Diemtar


You're welcome. :D

Richard
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Re: Gets and languages

Postby Horizon » Tue Mar 30, 2010 2:38 pm

Thanks for info.

It has been 4 years since this message. I don't know why this class has not been changed ?

Regards,
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Silvio.Falconi and 100 guests