Questions about the new XmlDialog

Everything else that doesn't fall into one of the other PB categories.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2137
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: Questions about the new XmlDialog

Post by Andre »

Thanks guys for your examples.

@hallodri: your example work fine...

@Fred: your example doesn't display the listicon gadget here, on my MacOS 10.5.8

What my original wish with including also the listicon columns into the Dialog system means, is automatic resizing also of the columns. With the solutions now, the Listicon size gets resized with the window size, but the column width stay at their initial size.

Would be nice, if this can be included. Else it further must be done manually...
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Questions about the new XmlDialog

Post by IdeasVacuum »

Got my dunce hat on.

Can anyone give a concise, clear explanation about when to use a Dialog form instead of a 'regular' form, and why? :?:
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Questions about the new XmlDialog

Post by Fred »

You have automatic layout, so if you change the font size, all gets properly reordered. Also Linux/OS X and Windows doesn't have the same default font size, so you need to adjust manually your gadget position if you don't use a layout manager.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Questions about the new XmlDialog

Post by IdeasVacuum »

In that case, I propose that the PB Form Designer has a switch/option to produce either a traditional form or an XML dialog form.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Questions about the new XmlDialog

Post by Polo »

IdeasVacuum wrote:In that case, I propose that the PB Form Designer has a switch/option to produce either a traditional form or an XML dialog form.
I want to write an import/export XML dialog which could be used for any form.
Best option as you don't loose the convenience of having the PB source code of the form, with still being able to modify the dialog when it's exported.

However, this is not for now, it's a big work and I would need time for that.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Questions about the new XmlDialog

Post by ts-soft »

Polo wrote:it's a big work and I would need time for that.
Image :wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: Questions about the new XmlDialog

Post by davido »

Andre wrote: @Fred: your example doesn't display the listicon gadget here, on my MacOS 10.5.8
Same problem here: Windows 7-64 PB5.20LTS Beta13.

First tab shown. No list Icon gadget.
DE AA EB
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Questions about the new XmlDialog

Post by Fred »

True, we have fixed some bug since the beta 13. It will work for the next version.
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: Questions about the new XmlDialog

Post by davido »

Thanks, Fred.
I think Dialog is the hidden gem in PB5.20! :D
DE AA EB
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Questions about the new XmlDialog

Post by IdeasVacuum »

However, this is not for now, it's a big work and I would need time for that.
You have plenty of time to do that between the 8th and 12th days of each week......... :mrgreen:
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Torp
User
User
Posts: 82
Joined: Fri Apr 01, 2005 11:29 am

Re: Questions about the new XmlDialog

Post by Torp »

Hello,

1 / Quick question regarding gridbox:
Are there any plans for a future version, the implementation of a value of "weight" to the size of cells on the same line to manage finer creating interfaces (like in Java).

2 / I'm not at all understood how the multibox. If anyone has an example, I'm interested.

Bye
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Questions about the new XmlDialog

Post by Polo »

IdeasVacuum wrote:
However, this is not for now, it's a big work and I would need time for that.
You have plenty of time to do that between the 8th and 12th days of each week......... :mrgreen:
:mrgreen:
Post Reply