Slava Paperno | 1 Jul 2011 02:04
Favicon

RE: Combobox

Pete,

I gave up on comboboxes for a different reason--they don't have the
unicodeText property, being half-buttons, half fields. I ended up emulating
a combobox by putting two fields on the card--a one-line text input field,
and below it, a list field. The list field is locked and initially hidden.
When the user clicks in the input field, the list field is shown; when the
user presses Enter in the input field, the list field is hidden again.

Slava

> -----Original Message-----
> From: use-livecode-bounces@... [mailto:use-livecode-
> bounces@...] On Behalf Of Pete
> Sent: Thursday, June 30, 2011 6:58 PM
> To: How to use LiveCode
> Subject: Re: Combobox
> 
> Another quirk I just discovered with comboboxes.  Setting the
> menuHistory of
> a combobox displays the correct choice, but subsequent clicks on the
> arrow
> to display the choices do not position the list of choices at the
> displayed
> value, as it does with an option menu.  In fairness, the dictionary
> does not
> claim it will do that for comboboxes but it seems a little strange that
> it
> doesn't.
> 
(Continue reading)

Shao Sean | 1 Jul 2011 03:09
Favicon

Re: Question regarding a window shape for a stack in Windows

Perhaps an external that makes use of the SetWindowsHookEx function  
can restore the taskbar functionality to stacks with custom shapes..

_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Jonathan Lynch | 1 Jul 2011 03:38
Picon

Re: Question regarding a window shape for a stack in Windows

What I did works for that.

At least, it has so far.

On Thu, Jun 30, 2011 at 9:09 PM, Shao Sean <shaosean@...> wrote:

> Perhaps an external that makes use of the SetWindowsHookEx function can
> restore the taskbar functionality to stacks with custom shapes..
>
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode@...
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>

--

-- 
Do all things with love
_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Pete | 1 Jul 2011 03:55
Favicon

Re: Combobox

Nice, I'm thinking of doing that myself, except I will probably use an
option menu rather than a list field - much more familiar user interface
using that way (or yours) than the combobox.

Pete
Molly's Revenge <http://www.mollysrevenge.com>

On Thu, Jun 30, 2011 at 5:04 PM, Slava Paperno <slava@...>wrote:

> Pete,
>
> I gave up on comboboxes for a different reason--they don't have the
> unicodeText property, being half-buttons, half fields. I ended up emulating
> a combobox by putting two fields on the card--a one-line text input field,
> and below it, a list field. The list field is locked and initially hidden.
> When the user clicks in the input field, the list field is shown; when the
> user presses Enter in the input field, the list field is hidden again.
>
> Slava
>
> > -----Original Message-----
> > From: use-livecode-bounces@... [mailto:use-livecode-
> > bounces@...] On Behalf Of Pete
> > Sent: Thursday, June 30, 2011 6:58 PM
> > To: How to use LiveCode
> > Subject: Re: Combobox
> >
> > Another quirk I just discovered with comboboxes.  Setting the
> > menuHistory of
> > a combobox displays the correct choice, but subsequent clicks on the
(Continue reading)

Ken Ray | 1 Jul 2011 04:30
Favicon

Re: Combobox


> Another quirk I just discovered with comboboxes.  Setting the menuHistory of
> a combobox displays the correct choice, but subsequent clicks on the arrow
> to display the choices do not position the list of choices at the displayed
> value, as it does with an option menu.  In fairness, the dictionary does not
> claim it will do that for comboboxes but it seems a little strange that it
> doesn't.

It's actually a cross-platform issue; option buttons on Windows don't pop up
with the selected choice like they do in Mac OS, so from a Windows
perspective, combo boxes and option button are both consistent and the Mac
option button is the "oddity".

;D

I don't usually use LC's combo boxes - I made a custom version of my own
with a field and a truncated option button and I've used that in a handful
of projects.

Ken Ray
Sons of Thunder Software, Inc.
Email: kray@...
Web Site: http://www.sonsothunder.com/

_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

(Continue reading)

Scott Rossi | 1 Jul 2011 04:31
Favicon

Re: Question regarding a window shape for a stack in Windows

Jonathan, are you able to minimize the stack from the taskbar?  In my Q&D
limited testing here, minimizing doesn't seem to work unless it's done from
a script in the stack, and even then, the stack just hides.  But it does get
listed in the taskbar, which is good.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design

Recently, Jonathan Lynch wrote:

> What I did works for that.
> 
> At least, it has so far.
> 
> On Thu, Jun 30, 2011 at 9:09 PM, Shao Sean <shaosean@...> wrote:
> 
>> Perhaps an external that makes use of the SetWindowsHookEx function can
>> restore the taskbar functionality to stacks with custom shapes..

_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Pete | 1 Jul 2011 05:10
Favicon

Re: Combobox

Thanks Ken.  I guess since I don;t work on Windows very often, I wasn't
aware of that. The custom option menu you mentioned sounds like what I've
just put together this afternoon, except I put a little plus sign at the
corner of the option menu that trigger adding a new value.  WHo knows, maybe
it will become a Drop Tools candidate when it grows up!

Just to clarify, are you saying that option menus on Macs are different than
on Windows in general, or just LC option menus?

Pete
Molly's Revenge <http://www.mollysrevenge.com>

On Thu, Jun 30, 2011 at 7:30 PM, Ken Ray <kray@...> wrote:

>
> > Another quirk I just discovered with comboboxes.  Setting the menuHistory
> of
> > a combobox displays the correct choice, but subsequent clicks on the
> arrow
> > to display the choices do not position the list of choices at the
> displayed
> > value, as it does with an option menu.  In fairness, the dictionary does
> not
> > claim it will do that for comboboxes but it seems a little strange that
> it
> > doesn't.
>
> It's actually a cross-platform issue; option buttons on Windows don't pop
> up
> with the selected choice like they do in Mac OS, so from a Windows
(Continue reading)

Jonathan Lynch | 1 Jul 2011 05:24
Picon

Re: Question regarding a window shape for a stack in Windows

I am able to do that.

Specifically, if I have the taskbar list all icons side by side, then, if I
click on the application, which is running from the 4.0 development
environment, it will bring the application to the front. If I click on the
application icon in the taskbar again, it will minimize the application
window. Clicking on the icon a third time brings it back up.

On Thu, Jun 30, 2011 at 10:31 PM, Scott Rossi <scott@...>wrote:

> Jonathan, are you able to minimize the stack from the taskbar?  In my Q&D
> limited testing here, minimizing doesn't seem to work unless it's done from
> a script in the stack, and even then, the stack just hides.  But it does
> get
> listed in the taskbar, which is good.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
>
>
> Recently, Jonathan Lynch wrote:
>
> > What I did works for that.
> >
> > At least, it has so far.
> >
> > On Thu, Jun 30, 2011 at 9:09 PM, Shao Sean <shaosean@...>
(Continue reading)

Jonathan Lynch | 1 Jul 2011 05:26
Picon

Re: Question regarding a window shape for a stack in Windows

actually, hang on.

this is happening after I manually set the decorations to:

maximize,minimize,close

I will do some more experimenting with the preopenstack script.

On Thu, Jun 30, 2011 at 11:24 PM, Jonathan Lynch
<jonathandlynch@...>wrote:

> I am able to do that.
>
> Specifically, if I have the taskbar list all icons side by side, then, if I
> click on the application, which is running from the 4.0 development
> environment, it will bring the application to the front. If I click on the
> application icon in the taskbar again, it will minimize the application
> window. Clicking on the icon a third time brings it back up.
>
> On Thu, Jun 30, 2011 at 10:31 PM, Scott Rossi <scott@...>wrote:
>
>> Jonathan, are you able to minimize the stack from the taskbar?  In my Q&D
>> limited testing here, minimizing doesn't seem to work unless it's done
>> from
>> a script in the stack, and even then, the stack just hides.  But it does
>> get
>> listed in the taskbar, which is good.
>>
>> Regards,
>>
(Continue reading)

Jonathan Lynch | 1 Jul 2011 05:32
Picon

Re: Question regarding a window shape for a stack in Windows

Hi again,

using this script in the preopenstack script, it is working, and allows
minimizing from the taskbar:

   set the windowshape of this stack to 0
   set the windowshape of this stack to 4475
   set the decorations of this stack to "maximize,minimize,close"

On Thu, Jun 30, 2011 at 11:26 PM, Jonathan Lynch
<jonathandlynch@...>wrote:

> actually, hang on.
>
> this is happening after I manually set the decorations to:
>
> maximize,minimize,close
>
> I will do some more experimenting with the preopenstack script.
>
>
> On Thu, Jun 30, 2011 at 11:24 PM, Jonathan Lynch <jonathandlynch@...
> > wrote:
>
>> I am able to do that.
>>
>> Specifically, if I have the taskbar list all icons side by side, then, if
>> I click on the application, which is running from the 4.0 development
>> environment, it will bring the application to the front. If I click on the
>> application icon in the taskbar again, it will minimize the application
(Continue reading)


Gmane