Search found 25 matches

by Joestes
Fri Jul 16, 2021 1:08 pm
Forum: Coding Questions
Topic: Tabless panel
Replies: 6
Views: 1557

Re: Tabless panel


You can try RASHAD code
or STARGATE TabBarGadget


I have tried the TabBarGadget library, buy I can't figure out how to set it up like the panel gadget of PB: For example if i want multiple editorgadgets on the tabs, simply hiding/unhiding the gadgets when the tab is changed doesn't seem ...
by Joestes
Fri Jul 16, 2021 12:01 pm
Forum: Coding Questions
Topic: Tabless panel
Replies: 6
Views: 1557

Tabless panel

Does anyone know if it is possible to remove the top section of a panelgadget?

What I'm looking for is a "tabless panel", in which the panels can only be changed programmatically with setGadgetState(#panel, tab)

I forgot to mention, that I'm running Windows, cross-platform is not an issue for me.
by Joestes
Fri Jul 16, 2021 11:52 am
Forum: Coding Questions
Topic: Button gadget OVER editor gadget
Replies: 4
Views: 983

Re: Button gadget OVER editor gadget

Great!

This is EXACTLY what I was looking for.

Thanks a lot RASHAD!!
by Joestes
Fri Jul 16, 2021 11:02 am
Forum: Coding Questions
Topic: Button gadget OVER editor gadget
Replies: 4
Views: 983

Re: Button gadget OVER editor gadget

I'm sorry, forgot to mention. My platform is windows (cross platform is not an issue for me)
by Joestes
Fri Jul 16, 2021 9:33 am
Forum: Coding Questions
Topic: Button gadget OVER editor gadget
Replies: 4
Views: 983

Button gadget OVER editor gadget

Hi there!

I was wondering if there is a way to put a button gadget on top of an editor gadget.

For example: I have an editor gadget and want a small button in the lower right corner.

If I create an editor gadget first and then a buttongadget over it, it will work until you use the editorgadget ...
by Joestes
Wed Oct 24, 2012 10:39 am
Forum: Coding Questions
Topic: Strange problem with webcam capture
Replies: 1
Views: 839

Strange problem with webcam capture

When I want to capture a image from the webcam with this code:

IncludeFile "escapi.pbi"
UseJPEGImageDecoder()
UseJPEGImageEncoder()

device = 0
Width = 640
Height = 480

dest = AllocateMemory(Width*Height)
destLen = MemorySize(dest)
count = setupESCAPI()

name$ = Space(1000)
getCaptureDeviceName ...
by Joestes
Wed Apr 25, 2012 7:41 am
Forum: Coding Questions
Topic: Fast(er) loading ListIconGadget
Replies: 2
Views: 683

Fast(er) loading ListIconGadget

I'm trying to create a ListIconGadget with about 300 columns, but when it's loaded and I want to scroll around in it, it moves really really really slow :(

Is there a way to speed things up a little?

Thanks!
by Joestes
Fri Feb 24, 2012 12:11 pm
Forum: Coding Questions
Topic: Treeview color
Replies: 1
Views: 1417

Treeview color

When I have a TreeViewGadget with option #PB_Tree_AlwaysShowSelection, is there a posibility to change the color of the bar when the gadget is out of focus?

What I mean: Can I change the pale greyish color when an item is selected but the gadget isn't active.

Thanks in advance!
by Joestes
Fri Oct 07, 2011 11:51 am
Forum: Coding Questions
Topic: OpenFileRequester question
Replies: 12
Views: 1817

Re: OpenFileRequester question

Thanks Rashad!

Is there any way to change the text on the button?

I want to change "Open" in something else... :)
by Joestes
Fri Oct 07, 2011 10:38 am
Forum: Coding Questions
Topic: OpenFileRequester question
Replies: 12
Views: 1817

Re: OpenFileRequester question

However... This window looks completely diffrent than the one used by PureBasic...

Does anyone know how to reproduce that one?
by Joestes
Fri Oct 07, 2011 10:14 am
Forum: Coding Questions
Topic: OpenFileRequester question
Replies: 12
Views: 1817

Re: OpenFileRequester question

You're absolutely right, I found it in the Code Archive!

Thank you for pointing that out!!

Regards
by Joestes
Fri Oct 07, 2011 9:06 am
Forum: Coding Questions
Topic: OpenFileRequester question
Replies: 12
Views: 1817

OpenFileRequester question

Is there any way to add gadgets to the OpenFileRequester?

I need to add a checkbox :) Or do I just need to create my own requester?

Thanks
by Joestes
Wed Sep 21, 2011 7:13 am
Forum: Coding Questions
Topic: Annotations with Scintilla
Replies: 4
Views: 1675

Re: Annotations with Scintilla

Yes, I knew that...

But I think PB doesnt support te command i'm looking for... :(
by Joestes
Tue Sep 20, 2011 3:30 pm
Forum: Coding Questions
Topic: Annotations with Scintilla
Replies: 4
Views: 1675

Annotations with Scintilla

Does anyone know how to use the annotation commands (e.g. SCI_ANNOTATIONSETTEXT) with Scintilla ?

Purebasic doesn't support it, so is it even possible to use it? If yes, does anyone have a small example of how to do so? :)

Thanks in advance!

Regards
by Joestes
Wed Sep 14, 2011 12:28 pm
Forum: Coding Questions
Topic: Scintilla highlight part of a line
Replies: 0
Views: 637

Scintilla highlight part of a line

Is it possible to highlight a part of a line just once in a Scintilla gadget?

I know how to do it with styles and keywords, but I just want to do it ONCE and not all the time...

Thanks!