Author Topic: Selected TABS  (Read 1944 times)

0 Members and 1 Guest are viewing this topic.

A_LOTA_NOTA

  • Guest
Selected TABS
« on: April 15, 2011, 08:26:56 AM »
Is there a way to detect which tabs are selected?
« Last Edit: April 15, 2011, 08:31:58 AM by A_LOTA_NOTA »

Lee Mac

  • Seagull
  • Posts: 12925
  • London, England
Re: Selected TABS
« Reply #1 on: April 15, 2011, 08:34:47 AM »

A_LOTA_NOTA

  • Guest
Re: Selected TABS
« Reply #2 on: April 15, 2011, 08:53:36 AM »
Thanks Lee. I had already tried this solution but I get the following error.

Error: no function definition: DOS_MULTILIST

Code: [Select]
(setq layout (dos_multilist "Select Layouts" "Select layouts" (layoutlist)))

Lee Mac

  • Seagull
  • Posts: 12925
  • London, England
Re: Selected TABS
« Reply #3 on: April 15, 2011, 09:05:17 AM »
That is part of DosLib - I believe it just creates a list_box from which the user can select multiple items.

A_LOTA_NOTA

  • Guest
Re: Selected TABS
« Reply #4 on: April 15, 2011, 09:38:23 AM »
So the only way is to get the selected tabs is for the user to select them in a dialog box or am I missing something. Lisp will not return a list of the selected tabs?

I've been trying to do some work in C#. Maybe this would be a good program for that. As I'm sure getting a list of selected tabs would not be a problem for C#.
« Last Edit: April 15, 2011, 09:46:36 AM by A_LOTA_NOTA »

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Selected TABS
« Reply #5 on: April 15, 2011, 09:57:05 AM »
I have not seen a way to do it with LISP. :-(
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

A_LOTA_NOTA

  • Guest
Re: Selected TABS
« Reply #6 on: April 15, 2011, 09:59:23 AM »
Thank you CAB

I have not seen a way to do it with LISP. :-(