Search found 40 matches
- Fri May 28, 2021 9:28 pm
- Forum: Coding Questions
- Topic: OnMouse Over Container
- Replies: 8
- Views: 1812
Re: OnMouse Over Container
Yes - this is it
- Fri May 28, 2021 5:25 pm
- Forum: Coding Questions
- Topic: OnMouse Over Container
- Replies: 8
- Views: 1812
Re: OnMouse Over Container
I like the idea of using 'DisableGadget ()'
--- SUPER !!!! --- I didn't know about it,
but I do NOT mean a tooltip, rather the OnMouseOver function, thanks to which you will be able to run appropriate procedures depending on the element over which the mouse is located
--- SUPER !!!! --- I didn't know about it,
but I do NOT mean a tooltip, rather the OnMouseOver function, thanks to which you will be able to run appropriate procedures depending on the element over which the mouse is located
- Fri May 28, 2021 12:55 pm
- Forum: Coding Questions
- Topic: OnMouse Over Container
- Replies: 8
- Views: 1812
OnMouse Over Container
I need the function 'OnMouseOver Container'
- reaction to moving the mouse over the yellow container, similar to 'GadgetToolTip (...)'.
Unfortunately, after hovering over the checkbox, the tooltip from the container stops working
https://drive.google.com/file/d/10JPIofJNGGwCEJZWIasDYo2sO2S6Hmzv ...
- reaction to moving the mouse over the yellow container, similar to 'GadgetToolTip (...)'.
Unfortunately, after hovering over the checkbox, the tooltip from the container stops working
https://drive.google.com/file/d/10JPIofJNGGwCEJZWIasDYo2sO2S6Hmzv ...
- Fri Mar 19, 2021 12:06 am
- Forum: Coding Questions
- Topic: Common part of several elements in Canvas
- Replies: 4
- Views: 1073
Re: Common part of several elements in Canvas
Well, I thought so, but I thought that there was a more optimal method.STARGÅTE wrote:In such a case you have to split you Paint procedure in two parts.
One part checks the overlap (from top to bottom)
The second part draws all objects (from bottom to top)
In any case, thank you very much - it's a good method.
- Thu Mar 18, 2021 10:30 pm
- Forum: Coding Questions
- Topic: Common part of several elements in Canvas
- Replies: 4
- Views: 1073
Common part of several elements in Canvas
How to select ONLY a triangle when hovering over the common part, and not a triangle and a rectangle at the same time?
Procedure Paint()
Protected x.i=GetGadgetAttribute(5, #PB_Canvas_MouseX), y.i=GetGadgetAttribute(5, #PB_Canvas_MouseY)
Protected kOut.i =RGBA( 0,255, 0, 255)
Protected kOver.i ...
Procedure Paint()
Protected x.i=GetGadgetAttribute(5, #PB_Canvas_MouseX), y.i=GetGadgetAttribute(5, #PB_Canvas_MouseY)
Protected kOut.i =RGBA( 0,255, 0, 255)
Protected kOver.i ...
- Wed Mar 17, 2021 9:37 pm
- Forum: Coding Questions
- Topic: Canvas - Mouse over
- Replies: 5
- Views: 1109
Re: Canvas - Mouse over
similar to zIndex in JSSTARGÅTE wrote:What do you mean?Johanson wrote:... Is there a method of changing positions (e.g. olympic rings): move to bottom, move to top?
- Wed Mar 17, 2021 9:10 pm
- Forum: Coding Questions
- Topic: Canvas - Mouse over
- Replies: 5
- Views: 1109
Re: Canvas - Mouse over
Der einfache Weg wäre über IsInsidePath():
Procedure Update()
If StartVectorDrawing(CanvasVectorOutput(EventGadget()))
MovePathCursor(20, 160)
AddPathLine(100, 20)
AddPathLine(180, 160)
ClosePath()
If IsInsidePath(GetGadgetAttribute(EventGadget(), #PB_Canvas_MouseX), GetGadgetAttribute ...
Procedure Update()
If StartVectorDrawing(CanvasVectorOutput(EventGadget()))
MovePathCursor(20, 160)
AddPathLine(100, 20)
AddPathLine(180, 160)
ClosePath()
If IsInsidePath(GetGadgetAttribute(EventGadget(), #PB_Canvas_MouseX), GetGadgetAttribute ...
- Wed Mar 17, 2021 8:26 pm
- Forum: Coding Questions
- Topic: Canvas - Mouse over
- Replies: 5
- Views: 1109
Canvas - Mouse over
How to check if the mouse is over a specific triangle?
If OpenWindow(0, 0, 0, 400, 200, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
Can=CanvasGadget(#PB_Any, 0, 0, 400, 200)
If StartVectorDrawing(CanvasVectorOutput(Can))
MovePathCursor(20, 160)
AddPathLine(100, 20 ...
If OpenWindow(0, 0, 0, 400, 200, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
Can=CanvasGadget(#PB_Any, 0, 0, 400, 200)
If StartVectorDrawing(CanvasVectorOutput(Can))
MovePathCursor(20, 160)
AddPathLine(100, 20 ...
- Thu Mar 11, 2021 9:54 pm
- Forum: Coding Questions
- Topic: How to send an email as html?
- Replies: 22
- Views: 5646
Re: How to send an email as html?
Does your constants look like this?
#MailServer = "smtps://smtp.xxx.xx:587"
#SMTP_User = "sender@xxxxxx.xx"
#SMTP_Password = "SerwiS#000"
YES!!! YES!!! YES!!!
it works! God exists.
thanks a lot
it finally worked
#MailServer = "smtp.xxx.xx:587"
Again thank you very much.
#MailServer = "smtps://smtp.xxx.xx:587"
#SMTP_User = "sender@xxxxxx.xx"
#SMTP_Password = "SerwiS#000"
YES!!! YES!!! YES!!!
it works! God exists.
thanks a lot
it finally worked
#MailServer = "smtp.xxx.xx:587"
Again thank you very much.
- Thu Mar 11, 2021 7:54 pm
- Forum: Coding Questions
- Topic: How to send an email as html?
- Replies: 22
- Views: 5646
Re: How to send an email as html?
http://www.purebasic.fr/english/viewtopic.php?f=12&t=50538&start=45
I tried
I remind you: I have version 5.73
It works with PB 5.73! Look at page 4..
Do You mean code posted: Wed Aug 29, 2018 3:49 am (normeus)?
Base64EncoderBuffer(*B64EncodeBufferA,
MemorySize(*B64EncodeBufferA)-1 ...
I tried
I remind you: I have version 5.73
It works with PB 5.73! Look at page 4..
Do You mean code posted: Wed Aug 29, 2018 3:49 am (normeus)?
Base64EncoderBuffer(*B64EncodeBufferA,
MemorySize(*B64EncodeBufferA)-1 ...
- Thu Mar 11, 2021 7:27 pm
- Forum: Coding Questions
- Topic: How to send an email as html?
- Replies: 22
- Views: 5646
Re: How to send an email as html?
Then your configuration of the smtp server is wrong or it is not allowed.
Check the allowed ports, check if it is smtps or smtp ...
Configuration is OK (everything works in the example below, also in Thunderbird it's ok)
InitNetwork()
If CreateMail(0, "sender@xxxxxx.xx", "Subject - Hello ...
Check the allowed ports, check if it is smtps or smtp ...
Configuration is OK (everything works in the example below, also in Thunderbird it's ok)
InitNetwork()
If CreateMail(0, "sender@xxxxxx.xx", "Subject - Hello ...
- Thu Mar 11, 2021 1:04 am
- Forum: Coding Questions
- Topic: How to send an email as html?
- Replies: 22
- Views: 5646
Re: How to send an email as html?
Sorry, was the wrong link.
In this file I did not update libcurl.pbi
This is the right link:
https://www.von-der-salierburg.de/download/infratec_httpi_libcurl.zip
But I also added the new file in the other zip file.
I downloaded the new version; looks nice; it doesn't show any errors, but .. it ...
In this file I did not update libcurl.pbi
This is the right link:
https://www.von-der-salierburg.de/download/infratec_httpi_libcurl.zip
But I also added the new file in the other zip file.
I downloaded the new version; looks nice; it doesn't show any errors, but .. it ...
- Wed Mar 10, 2021 4:20 pm
- Forum: Coding Questions
- Topic: How to send an email as html?
- Replies: 22
- Views: 5646
Re: How to send an email as html?
I added the mime stuff in my libcurl.pbi
https://www.von-der-salierburg.de/download/infratec_httpi_libcurldll.zip
This code works:
;
; LibCurl e-mail with html body
;
EnableExplicit
IncludeFile "libcurl.pbi"
#MailServer = "smtp://mail.example.com"
#FROM = "<sender@example.org>"
#To ...
https://www.von-der-salierburg.de/download/infratec_httpi_libcurldll.zip
This code works:
;
; LibCurl e-mail with html body
;
EnableExplicit
IncludeFile "libcurl.pbi"
#MailServer = "smtp://mail.example.com"
#FROM = "<sender@example.org>"
#To ...
- Wed Mar 10, 2021 8:35 am
- Forum: Coding Questions
- Topic: How to send an email as html?
- Replies: 22
- Views: 5646
Re: How to send an email as html?
I tried
I remind you: I have version 5.73
- Wed Mar 10, 2021 8:08 am
- Forum: Coding Questions
- Topic: How to send an email as html?
- Replies: 22
- Views: 5646
Re: How to send an email as html?
Win10 x64infratec wrote:From where is your used libcurl.pbi?Johanson wrote:POLINK: error: Unresollved external symbolinfratec wrote:As written ...
You have to use the way I showed you with libcurl.
'_curl_easy_strerror'.
POLINK: fatal error: 1 unresolved external(s).
Which OS are you using?