Search found 466 matches

by walker
Thu Jun 19, 2014 2:10 pm
Forum: Coding Questions
Topic: How to save CRLF in editorgadget to database and back?
Replies: 7
Views: 1641

Re: How to save CRLF in editorgadget to database and back?

Hi,

i'd solved this by parsing the text and replacing the CRLF by another character that never will occur and has no meaning to the database. Chr(7) is such a char
Or replace the CRLF by the HTML equivalent "<br>"

If you read the database, reverse your search :D
by walker
Fri Sep 07, 2012 12:36 pm
Forum: Coding Questions
Topic: [PB 5.00 b2 x64] different behavior of Toolbar & Coordinates
Replies: 1
Views: 1207

[PB 5.00 b2 x64] different behavior of Toolbar & Coordinates

Hope the Title is not too confusing.. When Creating a window with a Menu, the point 0,0 (left upper corner) where you can place a gadget etc. is at the bottom of the menu. Nothing is overlapping or hidden. When creating a Toolbar too, the fist accessible point (x=0,y=0) for a Gadget is - on Linux ri...
by walker
Mon May 30, 2011 2:54 pm
Forum: Coding Questions
Topic: Printing Problem Using Version 4.51
Replies: 3
Views: 1344

Re: Printing Problem Using Version 4.51

You have to set a drawing color (front color) as it's white by default ;-)
by walker
Tue Apr 05, 2011 6:32 pm
Forum: Linux
Topic: #WM_LBUTTONUP equivalent under linux?
Replies: 8
Views: 3358

Re: #WM_LBUTTONUP equivalent under linux?

Hi, it doesn't work for the imagegadget because the imagegadget does not receive any event you can use a workaround for tis type of gadget by placing it into an event-box :wink: the following code is written down from my mind .. could not test it ATM as i have only windows available *image.GtkWidget...
by walker
Mon Oct 04, 2010 8:55 pm
Forum: Linux
Topic: without gtk?
Replies: 11
Views: 3634

Re: without gtk?

sorry to be contrary .. :wink: but using the subsystem "opengl" doesn´t change anything as he is using a windowed screen .... (see compiler output) here are all dev-libs missing.... Guessing you´re using LinuxMint (as shown in your signature) then there should be NO problem as I use LM by ...
by walker
Sun Oct 03, 2010 6:17 pm
Forum: Linux
Topic: without gtk?
Replies: 11
Views: 3634

Re: without gtk?

If you use any of the gui commands (i.e. opening a window) or even use the Messagerequester, GTK librairies are used. It could not be, that on previous versions no GTK libs are installed and using a window or messagerequester was possible... afaik since the first version of PB for linux GTK was used...
by walker
Wed Sep 15, 2010 12:00 pm
Forum: Off Topic
Topic: iPad -> Alternatives?
Replies: 76
Views: 10721

Re: iPad -> Alternatives?

try weTab (not released yet .. but soon afaik)

http://www.amazon.de/WeTab-Zoll-Tablet- ... B003JFKUWQ
by walker
Fri Aug 27, 2010 10:11 pm
Forum: Linux
Topic: #WM_LBUTTONUP equivalent under linux?
Replies: 8
Views: 3358

Re: #WM_LBUTTONUP equivalent under linux?

Oh ... damned ... I forget this little C all the time since I use the x64 version .... :shock:
must write a reminder to myself.... :roll:
by walker
Fri Aug 27, 2010 9:55 pm
Forum: Linux
Topic: #WM_LBUTTONUP equivalent under linux?
Replies: 8
Views: 3358

Re: #WM_LBUTTONUP equivalent under linux?

Sorry for the delay..... In my post above some informations are missing .... Here an example of all possible (and usefull) events that can be used by a button: ;************************************************ ; Demo to show the use of Events of buttons beside ; the usual "clicked" ;-) beh...
by walker
Tue Jul 20, 2010 9:43 am
Forum: Linux
Topic: #WM_LBUTTONUP equivalent under linux?
Replies: 8
Views: 3358

Re: #WM_LBUTTONUP equivalent under linux?

You need to connect the signal "button-release-event" to your button i.e. g_signal_connect_object_(*widget,"button-release-event",@yourprocedurename(),#Null,#Null) or g_signal_connect_data_(*widget,"button-release-event",@yourprocedurename(),userl_data,#Null,#Null) if y...
by walker
Fri May 28, 2010 11:56 am
Forum: Linux
Topic: Embedding evince with evview
Replies: 2
Views: 1716

Re: Embedding evince with evview

Hi,

I'm not sure (working on win atm) but try a gtk_widget_show_all_() ... guessing the model has to be "shown" too ...
by walker
Thu May 06, 2010 5:30 pm
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 472
Views: 230284

Re: PurePDF Version 2.0

unfortunately PurePDF causes an ima with 4.50b4 (win x86) :(
with 4.50b3 it was working ....
by walker
Mon May 03, 2010 4:03 pm
Forum: Coding Questions
Topic: [pb450 b3 x86] DIM and Swap in combiantion = IMA
Replies: 2
Views: 727

[pb450 b3 x86] DIM and Swap in combiantion = IMA

see http://www.purebasic.fr/english/viewtopic.php?f=13&t=42104&start=0 for details this code causes an IMA because after the second Swap (and DIM) array_1 dimensions are set to -1,-1 Dim array_1.s(1, 10) Dim array_2.s(0, 0) ;create some content For x = 1 To 10 array_1(1, x) = Chr(60 + x) Nex...
by walker
Mon May 03, 2010 3:52 pm
Forum: Coding Questions
Topic: DIM does not working correct???
Replies: 6
Views: 1566

Re: DIM does not working correct???

@artic yes.. thats one of the reasons why i do not used redim the other reason is , that this is stripped out of a working code from a time, redim doesnt worked at all :shock: I tried to recompile an application which was written with pb 4.00 - pb 4.20 and why should I not swap content of 2 arrays i...
by walker
Mon May 03, 2010 12:45 pm
Forum: Coding Questions
Topic: DIM does not working correct???
Replies: 6
Views: 1566

DIM does not working correct???

before reporting as a bug ... and maybe it's only my stupid way to do things ... :roll: is this worth a bug report or did I overlook something? i guess dim does not work correct.... (step trough with debugger and have a look at the array dimensions) Dim array_1.s(1, 10) Dim array_2.s(0, 0) ;create s...