[Implemented] MORE GADGETS

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

[Implemented] MORE GADGETS

Post by BackupUser »

Restored from previous forum. Originally posted by Kanati.

As much as I'm sure we all appreciate the update Fred... You are still doing it... You are adding new little tidbits without fixing (and I do consider it a fix) the LACK of standard windows gadgets.

First and foremost on the list... SCROLLBARS

Purebasic is suffering from some seriously immense scope-creep right now. :/

Kanati
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by SoulTaker.

I agree to that 100% all other basic languages have ScrollBars in them.


Abit BD7-II Raid P4 1.9 gHz 384 Ram Xtasy GFroce 3 TI 200 CD-RW DirectX 9.0 Beta 3 Sound Blaster Live! XP Pro, Registered PureBasic User Version 3.40 For Windows.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

It's on my priority list right now:

- Scrollbar
- EditorGadget

Any others wanted ?

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by freak.

Ok, these are no new Gadgets, but some things I'd like to see though...

- A GadgetItemID() Command for TreeGadget (to get that handle to an Item in the TreeGadget)
- The ability to insert Items anywhere in the tree with AddGadgetItem()

This would make TreeGadget more flexible and easier tu use with the API
(For now, I always create a TreeView Control with CreateWindowEx_() and handle everything myself.)

Timo
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Kale.

Is there any chance of more native PB commands for listIconGadgets and Treeviews? just search the forum for stuff people use these for.
for example:
viewtopic.php?t=1929

--Kale

In love with PureBasic! :)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.

Fred, the only Gadget that comes to my mind (that is not already mentioned) is the 'Outlook Gadget'.
You know that thingy that is sitting on the left side and has some buttons on it.
But I don't know if it's easy to do it for the Linux version too, because I suppose that you want - one fine day - source compatibility also with Gadgets...

Have a nice day...

Franco
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Kanati.

Scrollbars are the most important I think...

But the editor (RTF) box is important too... Others are window dressing, but would be nice like "coolbars" style toolbars.

Kanati
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Kanati.
Originally posted by Franco

Fred, the only Gadget that comes to my mind (that is not already mentioned) is the 'Outlook Gadget'.
You know that thingy that is sitting on the left side and has some buttons on it.
Ah yes, the "side menu"... or "slider menu". That would add functionality that brings the "gadgets" into the 21st century at least.

He could get real fancy too and add XP style gadgets (skinnable for the most part). But then we get into scope-creep again. The slider-menu is a good one though.

Kanati
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Ok, thanks for the suggestions.

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Kanati.

Dockable windows would be nice too... even though they don't really fall under the "gadgets" list. But these are all things that you expect to see in a modern app. Dockable windows, detachable/dockable toolbars, side/slider menus, etc.

Take a look at OfficeXP for some "newer" type gadgets.

Kanati
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Num3.


Events for Image Gadget...

:)

--
Kind Regards
Rui Carvalho

Old programmers never die... They branch into a subroutine...
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Amiga5k.

AutoInit! Automatically initializes the keyboard, screen, etc when the appropriate command is first used. For example,
KBAvail = ExamineKeyboard() ; Returns true or false. If the result is not needed, then a dummy variable could be used (or, if PB allows it, use the 'discard return' way of calling it:
ExamineKeyBoard() ; The result is discarded.

Not really necessary, but I'm a little lazy and I forget to initialize things all the time :)

Russell

***Commodore 64 - Over one million cycles per second, 16 vibrant colors, 3 incredible audio channels and 38,911 Basic Bytes Free! Who could ask for anything more?***
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Amiga5k.

Whoops! I did two things wrong. I put this in the wrong topic and I forgot to say that AutoInit would be a switch command or a command that would be placed at the top of the code to instruct PB to not require initialization. (I'm just not used to initializing commands beforehand, even though it really is a good idea).

Russell

***Commodore 64 - Over one million cycles per second, 16 vibrant colors, 3 incredible audio channels and 38,911 Basic Bytes Free! Who could ask for anything more?***
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by GPI.

A window in window-Gadget

(like in opera; MDI)

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Kanati.

Definitely... An easy way to implement MDI is a must.

Kanati
Post Reply