Page 1 of 1

DCGET PASSWORD

Posted: Thu Jan 27, 2022 9:34 am
by Koverhage
How i can get the magic eye ?
2022-01-27_173552.jpg
2022-01-27_173552.jpg (3.51 KiB) Viewed 8682 times

Re: DCGET PASSWORD

Posted: Thu Jan 27, 2022 9:59 am
by Tom
HTML, CSS and JS. 8-)

SLEs do not support ownerdrawing. You may place a POPUP button inside the GET:

Code: Select all

DCGET ... PASSSWORD POPUP {|c|DisplayPasswordSomehow(c)} popstyle DCGUI_POPUPSTYLE_IMBEDDED POPCAPTION <IconWithAnEyeFromSomewhere> 
Check if you find an eye symbol somewhere, like in a free icon font. Check this: https://feathericons.com/

'DisplayPasswordSomehow' may simply use a MsgBox(). If you want to have it a little more sophisticated, place a text static over the get which is shown only of the button is pressed.

Re: DCGET PASSWORD

Posted: Fri Jan 28, 2022 12:00 am
by Wolfgang Ciriack
For the eye you can use f.e.

Code: Select all

DCPUSHBUTTONXP CAPTION chr(78) FONT "20.Webdings"

Re: DCGET PASSWORD

Posted: Fri Jan 28, 2022 12:52 am
by Tom
The clause POPFONT would be right to use the font and caption Wolfgang mentioned. An icon is a little cooler. 8-)

Re: DCGET PASSWORD

Posted: Fri Jan 28, 2022 1:34 am
by Tom

Code: Select all

@ 0,0 DCGET cPassWord PASSWORD POPUP {|c|MsgBox(c)} POPSTYLE DCGUI_POPUPSTYLE_IMBEDDED POPCAPTION Chr(78) POPFONT "20.Webdings" 
passwordeye.png
passwordeye.png (3.25 KiB) Viewed 8636 times

Re: DCGET PASSWORD

Posted: Fri Jan 28, 2022 1:48 am
by Tom
To have circles instead of asterisks as the characters to be shown instead of the ones typed, use in addition:

Code: Select all

FONT "10.Wingdings" PASSCHAR Chr(108)

Re: DCGET PASSWORD

Posted: Fri Jan 28, 2022 5:00 am
by Wolfgang Ciriack
Its a pitty, that i can not see the imbedded jpg files of the messages :evil: :evil: :evil:

Re: DCGET PASSWORD

Posted: Fri Jan 28, 2022 6:30 am
by rdonnay
Its a pitty, that i can not see the imbedded jpg files of the messages :evil: :evil: :evil:
I still don't understand it.
That file exists.
I copied it, renamed it, and uploaded it again, and then it disappeared again, even though it is still there.
Click the below url.

I promise that I will eventually figure this out, but this will take a long time and I just need an entire weekend to work on it.
Right now, my weekends are consumed by Bobby's problems with trying to save their taxi management business.

60_682f3eaefa5177a2a37d9993eaaf7903

The failure seems to be this php code or in the MySql table.

Code: Select all

$sql = 'SELECT attach_id, in_message, post_msg_id, extension, is_orphan, poster_id, filetime
	FROM ' . ATTACHMENTS_TABLE . "
	WHERE attach_id = $download_id";
$result = $db->sql_query_limit($sql, 1);
$attachment = $db->sql_fetchrow($result);
$db->sql_freeresult($result);

Re: DCGET PASSWORD

Posted: Fri Jan 28, 2022 9:14 am
by Wolfgang Ciriack
Thank you for the that link (60_68....), Roger.

Re: DCGET PASSWORD

Posted: Sun Jan 30, 2022 3:39 am
by Koverhage
Tom, Wolfgang
thank you