Search found 54 matches

by Amnesty
Mon Jan 08, 2018 10:37 pm
Forum: Coding Questions
Topic: move window with resizewindow / slide window
Replies: 5
Views: 2367

Re: move window with resizewindow / slide window

Thank you, you helped me a lot, i did it with resizewindow, but Animatewindow_ is the best for me, in my case.

Amnesty!
by Amnesty
Sun Jan 07, 2018 12:30 am
Forum: Coding Questions
Topic: move window with resizewindow / slide window
Replies: 5
Views: 2367

move window with resizewindow / slide window

Hello and although the year is already six days old, I would like to wish you the best for 2018.

I have got a general question:

for my application a need a borderless alert window which slides from the right edge into the screen. I m using a for ... next loop to set the position with resizewindow ...
by Amnesty
Thu May 04, 2017 12:55 pm
Forum: Coding Questions
Topic: State: Window Visible or not (user can see the window)
Replies: 6
Views: 3079

Re: State: Window Visible or not (user can see the window)

Servus!

The Hint from Chi works fine, thank you all.

Amnesty
by Amnesty
Thu May 04, 2017 6:26 am
Forum: Coding Questions
Topic: State: Window Visible or not (user can see the window)
Replies: 6
Views: 3079

State: Window Visible or not (user can see the window)

Good morning,

maybe its a stupid question, but how can I found out, whether a window is visible or not.

Visible = The user can see the window its not hidden or behind another window.

I would like to open another small alert window, if the User cant see the Main Window.

Thank you in advance for ...
by Amnesty
Sat Dec 24, 2016 2:25 pm
Forum: Coding Questions
Topic: scrollbargadget Eventtype - stepwidth not Pagelenght
Replies: 2
Views: 1322

Re: scrollbargadget Eventtype - stepwidth not Pagelenght

Thank you very much, i thought that its possible to get a unique event for the specific arrow.

I think the best way is to build a custom canvas based scrollbar.

Thank you

amnesty
by Amnesty
Mon Dec 05, 2016 10:42 pm
Forum: Coding Questions
Topic: scrollbargadget Eventtype - stepwidth not Pagelenght
Replies: 2
Views: 1322

scrollbargadget Eventtype - stepwidth not Pagelenght

Hello and good eveneing,

is t possible to catch the Events when you klick on the scroll arrow ?

Problem: When I click on the right arrow, it increases gadgetstate() + 1, but i would like to increase by 20 for example, I dont know how.

Anybody knows a way to do it ?

Thanks in advance

AMnesty ...
by Amnesty
Mon Oct 10, 2016 7:38 pm
Forum: Coding Questions
Topic: DrawImage() Icon 32x32 Canvasgadget()
Replies: 2
Views: 1283

Re: DrawImage() Icon 32x32 Canvasgadget()

:D

Thank you for this superfast reply.

I ve thought there would be a short solution, it s a real monster module, but in fact, the result is exactly what I need.

Amnesty

Solved! Thanks!
by Amnesty
Mon Oct 10, 2016 6:19 pm
Forum: Coding Questions
Topic: DrawImage() Icon 32x32 Canvasgadget()
Replies: 2
Views: 1283

DrawImage() Icon 32x32 Canvasgadget()

Good Evening,

I am trying to draw a 32x32 Icon on a canvasgadget. What happens. Its blurred.

I cant find the solution, can somebody give me a hint ?

Thanks in advance

Amnesty
by Amnesty
Sun Sep 27, 2015 8:22 pm
Forum: Coding Questions
Topic: Multiline Listicongadget and Icons
Replies: 0
Views: 1073

Multiline Listicongadget and Icons

Hello and good evevening,

I am getting crazy, I can t find any solution for Listicongadget with Multiline and Icon.

The code at the bottom generates Multiline Listicongadgets, but when I try to add an Icon it destroys the multiline.

Is there anybody with an idea how to solve this problem ?

kind ...
by Amnesty
Mon Mar 01, 2010 7:47 pm
Forum: Coding Questions
Topic: PB 4.41 - ODBC - databaseudate and temp tables on SQL Server
Replies: 2
Views: 1120

PB 4.41 - ODBC - databaseudate and temp tables on SQL Server

Hi Fred,

I can't use databaseupdate with temporary tables on SQL Server.
At least until 4.31 it worked fine, and the following snippet shows what I am writing about:


UseODBCDatabase()
If OpenDatabase(0, "dsn", "user", "pass")
query.s = "select * into #temp_d1 from table"
Databasequery(0 ...
by Amnesty
Tue Nov 24, 2009 5:56 pm
Forum: Coding Questions
Topic: MDI and Splittergadget crashes
Replies: 2
Views: 787

Re: MDI and Splittergadget crashes

Thanks, I havent seen this.
by Amnesty
Mon Nov 23, 2009 7:53 pm
Forum: Coding Questions
Topic: MDI and Splittergadget crashes
Replies: 2
Views: 787

MDI and Splittergadget crashes

Hello,

when I am using MDI Gadget in combination wit a Splittergadget it looks fine, but when maximizing it crashes with an invalid memory access.

The combination of MDI and Splitter is very common and useful in business software but am I doing something wrong or is it a bug ?

Can anybody help ...
by Amnesty
Fri Nov 13, 2009 7:23 pm
Forum: Tricks 'n' Tips
Topic: Autocomplete for Comboboxgadget - Simple version
Replies: 22
Views: 10375

Re: Autocomplete for Comboboxgadget - Simple version

Its amazing simple, thank you for this.

How can I use this with numbers, I am thinking about customer IDs. (for example 11208736)
When I am using only numbers in Comboboxgadget, autocomplete is not working.

Sorry, it works with numbers but not with NumPad.
by Amnesty
Sun Jun 15, 2008 12:03 pm
Forum: Tricks 'n' Tips
Topic: In Memory SQLite DB (PB 4.20)
Replies: 18
Views: 11133

I ve added Indices and views...

regards

Amnesty
by Amnesty
Sun Jun 15, 2008 9:40 am
Forum: Tricks 'n' Tips
Topic: In Memory SQLite DB (PB 4.20)
Replies: 18
Views: 11133

@pdwyer

Damn, it works, and its great.

Tested with 5000 records / 43 columns on my poor celereon Notebook.

Result for writing: 1344 ms

I didnt know that SQLite offers Transact in this way.




Structure table
sql.s
name.s
EndStructure

Procedure OpenSQLiteDatabase2Mem(database.l, file.s, user ...