Slider question

This forum is for eXpress++ general support.
Message
Author
skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Slipder question

#21 Post by skiman »

Hi Jimmy,

I don't see any font definition in useslide.prg?
Best regards,

Chris.
www.aboservice.be

User avatar
rdonnay
Site Admin
Posts: 4733
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Slipder question

#22 Post by rdonnay »

When I run the sample program, it causes a lot of beeps when moving the mouse over the slider.
It also causes the slider to behave very slowly.

Does anybody else see this behavior?

If not, then what is the date on your OT4XB.DLL, or what OS are you using. I'm using Win 7 64 bit.
The eXpress train is coming - and it has more cars.

User avatar
hz_scotty
Posts: 107
Joined: Thu Jan 28, 2010 8:20 am
Location: Wr.Neustadt / Österreich

Re: Slipder question

#23 Post by hz_scotty »

win7, 32bit
same beeps
otx from 25.10.2015
best regards
Hans

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Slipder question

#24 Post by Auge_Ohr »

Hi

have test on other Hardware (RealTek-Chip) with Win 10 (32bit) / Win 8.1 (64bit).
it does not happens on my (old) Win7 (32bit) Machine (SoundMax) ... hm

as i can say it is when enable Customdraw (o:Drawmode := XBP_DRAW_OWNERADVANCED )
when "hover" Thumb i hear a "click" each time. when using original OS() drawing all is ok.

btw. it seem to be the "Hover/Hot" Event which i search for visual Style ...
... yes i have try without visual Style / Imagelist.

i also try a empty Method OnCustomdraw() ... only

Code: Select all

   RETURN CDRF_DODEFAULT
Thumb are not shown this Way but i know where it is and if i touch that Point it still "click" :angry-banghead:

have send Pablo Source and hope he find a Way :eusa-pray:

Greetings by OHR
Jimmy
greetings by OHR
Jimmy

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Slipder question

#25 Post by Auge_Ohr »

skiman wrote:I don't see any font definition in useslide.prg?
i thought you might have change it ...

hm ... are you using Hotfix 25 (XppUi2.dll) or newer Version ?
greetings by OHR
Jimmy

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Slipder question

#26 Post by Auge_Ohr »

hi,

i have try to find a (big) Error ... but Error was User ( me ) :whistle:
here now last Version without "TONE(1234)", sorry for that stupid Bug :doh:
Attachments
DXESLIDE10.ZIP
need ot4xb
DLL / LIB v1.9.355
(75.46 KiB) Downloaded 690 times
greetings by OHR
Jimmy

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Slipder question

#27 Post by Auge_Ohr »

hi,

can you see what i did ?
DXEslider11.jpg
DXEslider11.jpg (58.3 KiB) Viewed 11874 times
it is a Image as Background for Control which have a Gradient look ;)

for more please look into READ.ME
Comments and Wishes welcome !
DXESLIDE11.ZIP
(80.37 KiB) Downloaded 660 times
greetings by OHR
Jimmy

User avatar
rdonnay
Site Admin
Posts: 4733
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Slider question

#28 Post by rdonnay »

Here is a sample written in eXpress++ code.

It shows how to use the GETLIST_USER type to create a user-defined object.

User-defined objects can be embedded in eXpress++ screens just like any other DC* object.

DXESLIDE.DLL and OT4XB.DLL are third-party products, yet controls built on native Xbase++ calls and Windows API calls will work well in an eXpress++ application.
Attachments
dcslide.zip
(2.91 KiB) Downloaded 655 times
The eXpress train is coming - and it has more cars.

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Slider question

#29 Post by Auge_Ohr »

hi,

have try DCSLIDE.XPJ and these got Warnings
DCSLIDE.PRG(25:0): warning XBT0102: Ambiguous variable reference aGETLIST_VARS
DCSLIDE.PRG(35:0): warning XBT0102: Ambiguous variable reference aGETLIST_VARS
DCSLIDE.PRG(45:0): warning XBT0102: Ambiguous variable reference aGETLIST_VARS
File DCSLIDE.PRG compiled successfully.
when run i got this Error :
Xbase++ Version : Xbase++ (R) Version 1.90.355
Betriebssystem : Windows Vista 06.01 Build 07601 Service Pack 1
------------------------------------------------------------------------------
oError:args :
-> NIL
oError:canDefault : N
oError:canRetry : J
oError:canSubstitute: N
oError:cargo : NIL
oError:description : Unbekannte Variable
oError:filename :
oError:genCode : 22
oError:operation : aGETLIST_VARS
oError:osCode : 0
oError:severity : 2
oError:subCode : 2000
oError:subSystem : BASE
oError:thread : 1
oError:tries : 1
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Aufgerufen von MAIN(25)
Environment
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\DOS\BAT;C:\DOS\NC;C:\DOS\TOOL;C:\DOS\ETP;D:\DB3U;C:\ALASKA\XPPW32\BIN;C:\ALASKA\XPPW32\LIB;C:\ALASKA\XBTW32\LIB;C:\exp19\bin19_sl1;C:\exp19\bin19

INCLUDE=C:\ALASKA\XPPW32\INCLUDE;C:\exp19\include;c:\ALASKA\XBTW32\INCLUDE
LIB=C:\ALASKA\XPPW32\LIB;C:\exp19\lib;c:\ALASKA\XBTW32\LIB
what do i miss :shifty:
greetings by OHR
Jimmy

User avatar
hz_scotty
Posts: 107
Joined: Thu Jan 28, 2010 8:20 am
Location: Wr.Neustadt / Österreich

Re: Slider question

#30 Post by hz_scotty »

no problem for me - all ok
you need also ot4xb.dll, dxeslide.lib and dxeslide.dll in the folder
best regards
Hans

Post Reply