Search found 17 matches

by Marvi
Wed Apr 11, 2018 2:34 pm
Forum: Coding Questions
Topic: Transparent picture
Replies: 4
Views: 2239

Re: Transparent picture

Thank you, all of you!
by Marvi
Wed Apr 11, 2018 12:42 pm
Forum: Coding Questions
Topic: Transparent picture
Replies: 4
Views: 2239

Transparent picture

Image

I would like to load two images, so that the second one is superimposed on the first one with a transparent mask: in the final picture the white pixels of the second picture
must be transparent.

Can anybody help me? Thanks.
by Marvi
Mon Jul 08, 2013 4:27 pm
Forum: Applications - Feedback and Discussion
Topic: Stopwatch (chrono)
Replies: 8
Views: 4592

Re: Stopwatch (chrono)

Thank you guys, it's always simple but more elegant!



;Purebasic 5.0
;:::::::::::::::::::::. Simple Chrono .::::::::::::::::::::::::

Global start.d, stop.d

Procedure.s timeformat(time.i)

ProcedureReturn FormatDate("%hh:%ii:%ss.", time / 1000) + RSet(Str(time % 1000), 2, "0 ...
by Marvi
Sun Jul 07, 2013 7:16 pm
Forum: Applications - Feedback and Discussion
Topic: Stopwatch (chrono)
Replies: 8
Views: 4592

Stopwatch (chrono)

I was looking for a very simple chrono but i didn't find anything here.

So I realized this little program: feel free to change what's wrong.

(Hundredth of a second , with delay = 25 and manual start/stop, are just for fun!)

;Purebasic 5.0
;:::::::::::::::::::::. Simple Chrono ...
by Marvi
Thu Dec 08, 2011 11:19 pm
Forum: Coding Questions
Topic: MP3 MOVIEINFO
Replies: 0
Views: 623

MP3 MOVIEINFO

While trying to write some code about a mp3 player, I was not able to try to get in advance the correct information about mp3 length (time).

Then I found this formula:
mp3length(in seconds)=2^31 / MovieInfo(#Movie, 0)

I don't know If, as we say in Italy, I discovered the hot water (banal ...
by Marvi
Thu Jan 14, 2010 6:34 pm
Forum: Coding Questions
Topic: WEBGADGET LINK GRABBING
Replies: 9
Views: 2399

WEBGADGET LINK GRABBING

I read all posts in forum about this argument, but I didn't find any simple or clear answer to my problem.

In webgaget while I'm browsing within a site, a link opens another web window, unfortunately out of webgadget window: I would like to grab the link address, in order to
kill opening window ...
by Marvi
Tue Sep 08, 2009 9:06 pm
Forum: Coding Questions
Topic: Message Requester beep
Replies: 11
Views: 1722

Ok it works now! Maybe I wrote something wrong......

THANKSSSSSS TO EVERYBODY
by Marvi
Tue Sep 08, 2009 8:38 pm
Forum: Coding Questions
Topic: Message Requester beep
Replies: 11
Views: 1722

My operative system is Vista 32.

This beep is really annoying........ Anyone else has a good idea?
by Marvi
Tue Sep 08, 2009 7:30 pm
Forum: Coding Questions
Topic: Message Requester beep
Replies: 11
Views: 1722

Thanks, but it doesn't work! The beep remains.....
by Marvi
Tue Sep 08, 2009 5:15 pm
Forum: Coding Questions
Topic: Message Requester beep
Replies: 11
Views: 1722

Message Requester beep

There is any way to eliminate the noisy beep that sounds when Message Requester window appears?

I tried the code

SystemParametersInfo_(#SPI_SETBEEP,0,0,0)

but it doesn't work (My OS is Vista)

Thanks in advance
by Marvi
Sat Nov 22, 2008 12:46 pm
Forum: Coding Questions
Topic: Jumping scrollbar in ExplorerListGadget
Replies: 3
Views: 1037

Nothing changes :cry:
by Marvi
Sat Nov 22, 2008 12:08 pm
Forum: Coding Questions
Topic: Jumping scrollbar in ExplorerListGadget
Replies: 3
Views: 1037

Jumping scrollbar in ExplorerListGadget

When my program deletes files in a folder, the ExploreListGadget
pointing to that folder gets crazy, showing anymore files and ExploreListGadget scrollbar jumps up and down till last file is deleted.

How can I freeze that window till end of operation?
by Marvi
Thu Oct 16, 2008 11:22 am
Forum: Coding Questions
Topic: Updating a Stringgadget while reading from SQLITE database
Replies: 2
Views: 577

Ah ok, now it works, many thanks.

Progress bar gadget was working without managing any event, I thought StringGadget too.
by Marvi
Thu Oct 16, 2008 9:52 am
Forum: Coding Questions
Topic: Updating a Stringgadget while reading from SQLITE database
Replies: 2
Views: 577

Updating a Stringgadget while reading from SQLITE database

While reading from a Sqlite database (500000 records)
my program updates 3 StringGadget, containing the
number of the record and other stuff.

Nothing appears in StringGadget but the last value.
Also if I modify my program in order to show me 1 value every 100 record readings.

The only effort ...
by Marvi
Sat Oct 04, 2008 8:14 am
Forum: Coding Questions
Topic: RUNPROGRAM & SQLITE
Replies: 4
Views: 1334

Yes, naturally I could and I'm going to do it. The fact is that Runprogram

is an useful tool when you're doing something on the fly, I'm

moving from MySql to Sqlite and while I'm changing the other parts of the

code I wanted to use it temporarily.