[vwnc] menu in dataset

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] menu in dataset

Dziedzic, Peter

Hello,

Computer: PC with Windows XP
VisualWorks: 7.6


I want to use a menu in a dataset. But the Pianter-tool give me only the chance to choose "input field", "read only", "combo box", "check box",  "abritary view" or "tree view" as the type of the column of the dataset.
There is no "menu"-type to choice.


A combobox is little similar to a menu but i have the problem with the combo-box that the combo-box don't have a label and a value.
The combobox has only a list of labels. Therefore i can't use a different label (e.g. yes or no) and a different value(e.g. true or false).
Another problem of the combobox is that i can't insert a read-only combobox in the dataset.  

My question is: Is there a chance to insert a menu in the dataset or is it possible to change the bahavour of a combox to act similar like a menu?

Did you make any experience with this?

Thanks for your help.

Best regards,

Peter Dziedzic
--------------------------------------

Carl Zeiss Industrielle Meßtechnik GmbH/ Industrial Metrology
Softwareentwicklung/Software Development

P e t e r  D z i e d z i c

73446 Oberkochen, Germany
e-mail: [hidden email]
http://www.zeiss.de/imt

Carl Zeiss Industrielle Messtechnik GmbH
Carl-Zeiss-Straße 22, 73447 Oberkochen
Aufsichtsratsvorsitzender: Dr. Dieter Kurz
Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
Amtsgericht Ulm, HRB 501561, USt-IdNr.: DE 811 515 346




----------------------------------------
This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] menu in dataset

Terry Raymond

Use a combobox and set it to readonly, next set the type to object

and define the object read and print methods. I don’t have an example

at hand for you.

 

Terry

===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================


From: [hidden email] [mailto:[hidden email]] On Behalf Of Dziedzic, Peter
Sent: Tuesday, January 27, 2009 1:34 AM
To: [hidden email]
Subject: [vwnc] menu in dataset

 


Hello,

Computer: PC with Windows XP
VisualWorks: 7.6


I want to use a menu in a dataset. But the Pianter-tool give me only the chance to choose "input field", "read only", "combo box", "check box",  "abritary view" or "tree view" as the type of the column of the dataset.
There is no "menu"-type to choice.


A combobox is little similar to a menu but i have the problem with the combo-box that the combo-box don't have a label and a value.
The combobox has only a list of labels. Therefore i can't use a different label (e.g. yes or no) and a different value(e.g. true or false).
Another problem of the combobox is that i can't insert a read-only combobox in the dataset.  

My question is: Is there a chance to insert a menu in the dataset or is it possible to change the bahavour of a combox to act similar like a menu?

Did you make any experience with this?

Thanks for your help.

Best regards,

Peter Dziedzic
--------------------------------------

Carl Zeiss Industrielle Meßtechnik GmbH/ Industrial Metrology
Softwareentwicklung/Software Development

P e t e r  D z i e d z i c

73446 Oberkochen, Germany
e-mail: [hidden email]
http://www.zeiss.de/imt

Carl Zeiss Industrielle Messtechnik GmbH
Carl-Zeiss-Straße 22, 73447 Oberkochen
Aufsichtsratsvorsitzender: Dr. Dieter Kurz
Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
Amtsgericht Ulm, HRB 501561, USt-IdNr.: DE 811 515 346




----------------------------------------
This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] menu in dataset

skrish
In reply to this post by Dziedzic, Peter
It is very much possible to introduce a menu in a dataset ( or was it a table..!) I have done this way back about 3 yrs back.. and can try and locate the code that hacks into the hierarchy of classes for the dataset.

It is not exposed as such from outside.. but you most certainly can do it if you dig deeper.

regards
skrish

On Tue, Jan 27, 2009 at 12:03 PM, Dziedzic, Peter <[hidden email]> wrote:

Hello,

Computer: PC with Windows XP
VisualWorks: 7.6


I want to use a menu in a dataset. But the Pianter-tool give me only the chance to choose "input field", "read only", "combo box", "check box",  "abritary view" or "tree view" as the type of the column of the dataset.
There is no "menu"-type to choice.


A combobox is little similar to a menu but i have the problem with the combo-box that the combo-box don't have a label and a value.
The combobox has only a list of labels. Therefore i can't use a different label (e.g. yes or no) and a different value(e.g. true or false).
Another problem of the combobox is that i can't insert a read-only combobox in the dataset.  

My question is: Is there a chance to insert a menu in the dataset or is it possible to change the bahavour of a combox to act similar like a menu?

Did you make any experience with this?

Thanks for your help.

Best regards,

Peter Dziedzic
--------------------------------------

Carl Zeiss Industrielle Meßtechnik GmbH/ Industrial Metrology
Softwareentwicklung/Software Development

P e t e r  D z i e d z i c

73446 Oberkochen, Germany
e-mail: [hidden email]
http://www.zeiss.de/imt

Carl Zeiss Industrielle Messtechnik GmbH
Carl-Zeiss-Straße 22, 73447 Oberkochen
Aufsichtsratsvorsitzender: Dr. Dieter Kurz
Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
Amtsgericht Ulm, HRB 501561, USt-IdNr.: DE 811 515 346




----------------------------------------
This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] menu in dataset

Maarten Mostert-2
In reply to this post by Terry Raymond
There is an example of Listing Arbitrary Objects in the GuiDevGuide on Combo boxes which works pritty well on datasets.
 
@+Maarten,

Use a combobox and set it to readonly, next set the type to object

and define the object read and print methods. I don’t have an example

at hand for you.

 

 

Terry

===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================


From: [hidden email] [mailto:[hidden email]] On Behalf Of Dziedzic, Peter
Sent: Tuesday, January 27, 2009 1:34 AM
To: [hidden email]
Subject: [vwnc] menu in dataset

 


Hello,

Computer: PC with Windows XP
VisualWorks: 7.6


I want to use a menu in a dataset. But the Pianter-tool give me only the chance to choose "input field", "read only", "combo box", "check box",  "abritary view" or "tree view" as the type of the column of the dataset.
There is no "menu"-type to choice.


A combobox is little similar to a menu but i have the problem with the combo-box that the combo-box don't have a label and a value.
The combobox has only a list of labels. Therefore i can't use a different label (e.g. yes or no) and a different value(e.g. true or false).
Another problem of the combobox is that i can't insert a read-only combobox in the dataset.  

My question is: Is there a chance to insert a menu in the dataset or is it possible to change the bahavour of a combox to act similar like a menu?

Did you make any experience with this?

Thanks for your help.

Best regards,

Peter Dziedzic
--------------------------------------

Carl Zeiss Industrielle Meßtechnik GmbH/ Industrial Metrology
Softwareentwicklung/Software Development

P e t e r  D z i e d z i c

73446 Oberkochen, Germany
e-mail: [hidden email]
http://www.zeiss.de/imt

Carl Zeiss Industrielle Messtechnik GmbH
Carl-Zeiss-Straße 22, 73447 Oberkochen
Aufsichtsratsvorsitzender: Dr. Dieter Kurz
Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
Amtsgericht Ulm, HRB 501561, USt-IdNr.: DE 811 515 346




----------------------------------------
This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.10.14/1918 - Release Date: 27/01/2009 07:26

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

[vwnc] Antwort: Re: menu in dataset

Dziedzic, Peter

hello,

i found a solution and it works very well.
the example in the GuiDevGuide is really good.
thanks.

best regards,

Peter Dziedzic

--------------------------------------

Carl Zeiss Industrielle Meßtechnik GmbH/ Industrial Metrology
Softwareentwicklung/Software Development

P e t e r  D z i e d z i c

e-mail: [hidden email]
http://www.zeiss.de/imt

Carl Zeiss Industrielle Messtechnik GmbH
Carl-Zeiss-Straße 22, 73447 Oberkochen
Aufsichtsratsvorsitzender: Dr. Dieter Kurz
Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
Amtsgericht Ulm, HRB 501561, USt-IdNr.: DE 811 515 346





"Maarten MOSTERT" <[hidden email]>
Gesendet von: [hidden email]

28.01.2009 00:15

An
"Terry Raymond" <[hidden email]>, "'Dziedzic, Peter'" <[hidden email]>, <[hidden email]>
Kopie
Thema
Re: [vwnc] menu in dataset





There is an example of Listing Arbitrary Objects in the GuiDevGuide on Combo boxes which works pritty well on datasets.
 
@+Maarten,

Use a combobox and set it to readonly, next set the type to object
and define the object read and print methods. I don’t have an example
at hand for you.
 
 

Terry

===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      
traymond@...
<
http://www.craftedsmalltalk.com>
===========================================================




From: [hidden email] [mailto:[hidden email]] On Behalf Of Dziedzic, Peter
Sent:
Tuesday, January 27, 2009 1:34 AM
To:
[hidden email]
Subject:
[vwnc] menu in dataset

 

Hello,


Computer: PC with Windows XP
VisualWorks: 7.6

I want to use a menu in a dataset. But the Pianter-tool give me only the chance to choose "input field", "read only", "combo box", "check box",  "abritary view" or "tree view" as the type of the column of the dataset.
There is no "menu"-type to choice.

A combobox is little similar to a menu but i have the problem with the combo-box that the combo-box don't have a label and a value.
The combobox has only a list of labels. Therefore i can't use a different label (e.g. yes or no) and a different value(e.g. true or false).
Another problem of the combobox is that i can't insert a read-only combobox in the dataset.  

My question is: Is there a chance to insert a menu in the dataset or is it possible to change the bahavour of a combox to act similar like a menu?

Did you make any experience with this?

Thanks for your help.

Best regards,

Peter Dziedzic
--------------------------------------

Carl Zeiss Industrielle Meßtechnik GmbH/ Industrial Metrology
Softwareentwicklung/Software Development

P e t e r  D z i e d z i c

73446 Oberkochen, Germany
e-mail: [hidden email]
http://www.zeiss.de/imt

Carl Zeiss Industrielle Messtechnik GmbH
Carl-Zeiss-Straße 22, 73447 Oberkochen
Aufsichtsratsvorsitzender: Dr. Dieter Kurz
Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
Amtsgericht Ulm, HRB 501561, USt-IdNr.: DE 811 515 346




----------------------------------------
This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.10.14/1918 - Release Date: 27/01/2009 07:26



----------------------------------------
This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc