Search found 131 matches

by luciano
Sat Jan 28, 2017 3:47 pm
Forum: Bugs - IDE
Topic: 5.60 b1 Form tool does not work with .gif files
Replies: 0
Views: 1583

5.60 b1 Form tool does not work with .gif files

I did some tests creating new forms using the form tool and it seems that it does not work with gif files.
Not surprising since it is the first beta, I report it just to keep it noted.

Thank you to the team for the good work
by luciano
Wed Feb 17, 2016 11:01 pm
Forum: The PureBasic Form Designer
Topic: Form-Designer generates wrong code for String Gadgets?
Replies: 43
Views: 28947

Re: Form-Designer generates wrong code for String Gadgets?


Only the Event Loop generator have been removed, so it's easy to remplace it with a Template and call it from main .pb (then add other events manually)
OpenWindow_0()

Repeat
event = WaitWindowEvent()
Until Window_0_Events(event) = #False

End
Choice to remove main loop from .pbf is good ...
by luciano
Tue Feb 16, 2016 9:56 pm
Forum: The PureBasic Form Designer
Topic: Form-Designer generates wrong code for String Gadgets?
Replies: 43
Views: 28947

Re: Form-Designer generates wrong code for String Gadgets?

Polo, FD has been and still is very useful to me; it is very useful even to preview how the application will look like and show it to clients.
thanks
Luciano

p.s.
I will miss a little the event loop which has been removed, I copied and pasted the generated loop code in the application and that ...
by luciano
Thu Jan 21, 2016 1:48 pm
Forum: Announcement
Topic: PureBasic 5.41 Libraries Quick Reference
Replies: 4
Views: 3333

Re: PureBasic 5.41 Libraries Quick Reference


You can't remember when using 'F1' ? :lol:

F1 is my most (ab)used key, but I like to see all features in a glimpse and I am glad tu buy any publication about Purebasic,
External publications increase the status of Purebasic consideration.

Wikipedia still reports
" This article includes a list ...
by luciano
Thu Jan 21, 2016 8:08 am
Forum: Announcement
Topic: PureBasic 5.41 Libraries Quick Reference
Replies: 4
Views: 3333

Re: PureBasic 5.41 Libraries Quick Reference

New incarnation of Millihelp Quick Reference.

Useful reference of PB 5.41 commands. Dense, in color, with cross-references, and in a carefully grouped order.
Two PDFs - colored and grayscale. Read from screen or print out. For daily use.

http://millihelp.wix.com/qref


I just bought your files ...
by luciano
Sat Jan 10, 2015 11:19 am
Forum: Coding Questions
Topic: Decimal vs Comma will this work
Replies: 20
Views: 6751

Re: Decimal vs Comma will this work

I use an easy and dirty trick with:

String$ = ReplaceString(String$, StringToFind$, StringToReplace$ [, Mode [, StartPosition [, NbOccurrences]]])

.....

Var1 = ValD(ReplaceString( GetGadgetText(1),",","."))



replacing "," with "."



; Decimal_VS_Comma__test.pb

Declare InputMAX()
Declare ...
by luciano
Sat Aug 23, 2014 7:54 am
Forum: The PureBasic Form Designer
Topic: CatchImage
Replies: 1
Views: 3564

Re: CatchImage

To use catchimage, go to Form --> Image Manager
There you can select for each image to use catchimage and/or a relative path.

To use a relative path to the image, the form file should be saved before checking this option.

Hi
Luciano
by luciano
Mon Aug 11, 2014 4:56 pm
Forum: Announcement
Topic: Removing 'ASCII' switch from PureBasic
Replies: 210
Views: 132758

Re: Removing 'ASCII' switch from PureBasic

Danilo is right,
I use PB to write programs to control machines using Rs232, Rs485, or Rs422 and I compile them as "unicode executable" since I have interfaces in different languages.
I too save log files for microcontrollers in 8 bit; I can confirm that they all work fine if you use the correct ...
by luciano
Tue Sep 10, 2013 6:55 pm
Forum: The PureBasic Form Designer
Topic: [Done] PB 5.20 B17: Unable to rearrange Gadgets by D&D
Replies: 5
Views: 3120

Re: [Done] PB 5.20 B17: Unable to rearrange Gadgets by D&D

I think that the reason of the miracle is that rearranging works in design view.
On the opposite if you rearrange gadgets in code view, then they go back as they were before when you switch back to design view.
by luciano
Sat Sep 07, 2013 10:36 pm
Forum: The PureBasic Form Designer
Topic: ? [Done] 5.20 B11 Multiple Declare when Events are added
Replies: 5
Views: 4362

Re: ? [Done] 5.20 B11 Multiple Declare when Events are added

Hi Polo,
I admit that this error is quite tricky and it happens only in strict situations, but I can replicate it constantly even in beta 17, here is the code generated and two screen grabs.
It happens only when two buttons, etc trigger the same event, in this case "TryButtonEvent" ; declare for ...
by luciano
Thu Aug 29, 2013 9:18 am
Forum: The PureBasic Form Designer
Topic: ? [Done] 5.20 B11 Multiple Declare when Events are added
Replies: 5
Views: 4362

Re: [Done] 5.20 B11 Multiple Declare when Events are added

Please use the two files used in topic:
http://www.purebasic.fr/english/viewtopic.php?f=22&t=56078

Having them both open in the Ide, FD can add events to button using the "event procedure" drop-down;
Add Ok procedure to the OK button, and add TRY procedure to the TRY button and again the TRY ...
by luciano
Mon Aug 26, 2013 7:43 am
Forum: General Discussion
Topic: Chart and Reports
Replies: 3
Views: 2697

Re: Chart and Reports

Hi Prosecco,
ABBKlaus mantains some very useful libraries in his site: here is a link to RMCharts:
http://www.purebasicpower.de/?RMChart

If you do not want to use any library you can directly drw on a canvas gadget; here is a simple result:
Image
by luciano
Sat Aug 24, 2013 8:44 am
Forum: The PureBasic Form Designer
Topic: How do I create shapes as in VB?
Replies: 5
Views: 3604

Re: How do I create shapes as in VB?

You could use png with alpha transparency if you want odd shaped buttons.
Rectangular buttons with rounded corners should not require a map for mouse click.

PNGs with alpha transparency made in a graphic application look very good in a form.

You could take some ideas from this simple example at ...
by luciano
Mon Aug 19, 2013 9:12 am
Forum: The PureBasic Form Designer
Topic: ? [Done] 5.20 B11 Multiple Declare when Events are added
Replies: 5
Views: 4362

? [Done] 5.20 B11 Multiple Declare when Events are added

Please use the two files used in topic:
http://www.purebasic.fr/english/viewtopic.php?f=22&t=56078

Having them both open in the Ide, FD can add events to button using the "event procedure" drop-down;
Add Ok procedure to the OK button, and add TRY procedure to the TRY button and again the TRY ...
by luciano
Fri Jul 26, 2013 6:06 pm
Forum: The PureBasic Form Designer
Topic: [Done] Saving window size
Replies: 1
Views: 2057

[Done] Saving window size

Sorry to push an old report, but there is a topic buried inside of Windows Bugs thread, which might be missed:
http://www.purebasic.fr/english/viewtopic.php?f=4&t=55310&hilit=window+size

In practice the window size does not appear to be saved and it returns to the default values when the .pbf is ...