mIRC Homepage
Posted By: benjaminsisko Tab key/control - 23/05/05 04:49 PM
Is there any way to use tabs for (text positioning) in a
dialog control (list/edit/combo ect) ?
for example so text can be entered at a specific tab or colume
or using the tab key when entering text into an edit box ect?

if not is there any likelyhood of tabs being implemented?

Thanx
Posted By: tidy_trax Re: Tab key/control - 23/05/05 05:02 PM
You can't use tabs to align the text atm.
You could try using a hard space (not all have one, but most do) which is normally either $chr(160) or $chr(255)
Posted By: benjaminsisko Re: Tab key/control - 23/05/05 06:33 PM

yes i have looked at hard spaces,
but that would only work if used with a fixed width font smirk
Posted By: Riamus2 Re: Tab key/control - 23/05/05 07:15 PM
Actually, hard spaces will work with variable width fonts as well. It just depends on the specific font.
Posted By: benjaminsisko Re: Tab key/control - 23/05/05 08:31 PM
which depends on what font a user has set his system/mirc font to...
what im actually trying to do is devide a single list contro into 3 coloumes as follows

data1 data2 data3
data4 data5 data 6

and so on.
without tabs the columes will not line up vertically.
i've concidered using 3 seperate list controls but then scrolling
the 3 controls simultaneously becomes very problemactic.

there should be multiple spaces/tabs between the columes but like mirc this editor has stripped them out.
Posted By: Riamus2 Re: Tab key/control - 23/05/05 08:56 PM
You might look into the different DLLs available (MDX, hOS, etc). One of those should have the ability to use columns in a list box, I would think.

That said, I would think there would be a way to lock two or more lists/scrollbars together so that doing something to one would do the same to another. I don't think this is possible without a DLL, but it would be useful.

You might also attempt checking for change of position of the scrollbar and then changing the position of the other list's scrollbar to match.

I do think we should have a $tab control for listboxes and combo boxes and all that.
Posted By: benjaminsisko Re: Tab key/control - 23/05/05 10:09 PM

Hmmm, that MDX.dll looks very interesting and useful laugh
Know a good place to download it from with tutorials?

Thanx
Posted By: Online Re: Tab key/control - 24/05/05 12:30 AM
1. MDX & Reference
2. MDX Tutorials
3. MDX Studio, a visual dialog editor for mIRC that can draw MDX controls.
Posted By: SladeKraven Re: Tab key/control - 24/05/05 12:43 AM
The thing I don't like with MDX Studio is it wont let you add tabs to the dialogs. frown
Posted By: benjaminsisko Re: Tab key/control - 24/05/05 01:25 PM

Thank You Guys

thats just the ticket i was looking for smile
Posted By: Mpdreamz Re: Tab key/control - 25/05/05 11:29 AM
make the tabs in dialog studio
then in MDX studio make several dialogs with the same width heights that correspond with the tabs and just add ,tab1 etc behind them :tongue:
i use MDX and dstudio and Abbyss all together as each does something the other does not lol
© mIRC Discussion Forums