For Programmers: Free Programming Magazines  


Home > Archive > PowerBuilder > February 2005 > Uneditable DDDW









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Uneditable DDDW
Hitman_in_Wis

2005-02-22, 4:00 am

How do I make a DDDW that is uneditable, yet the user can still use the
mouse to select the text if they care to Copy it.

If I set the DDDW to not Allow Editing, it does not let the user type
in any values, but it still lets the user select a value from the drop
down list (which seems kinda wierd to me).

If I set the DDDW to Protect = 1, I cant even put the cursor in the
DDDW any more, thus preventing Copying of text.

Wheres the happy medium?

Jim Douglas

2005-02-22, 8:58 am

Add a little bity indicator to the right of the dddw to indicate copy, and
when the user clicks it you program it to get the stuff and put it in the
copy buffer. I'ts hard for me to imagine that there would be that much text
in a dddw that you might copy it, have many times in your life have you
copied text from a disabled select?


"Hitman_in_Wis" <brett.birschbach@cellcom.com> wrote in message
news:1109025348.671628.307470@g14g2000cwa.googlegroups.com...
> How do I make a DDDW that is uneditable, yet the user can still use the
> mouse to select the text if they care to Copy it.
>
> If I set the DDDW to not Allow Editing, it does not let the user type
> in any values, but it still lets the user select a value from the drop
> down list (which seems kinda wierd to me).
>
> If I set the DDDW to Protect = 1, I cant even put the cursor in the
> DDDW any more, thus preventing Copying of text.
>
> Wheres the happy medium?
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com