hello Roger
If I use TYPE or COLOR in DCTABPAGE the Tab Graph does not look the same, what can I do to solve this problem.
If you Note in the photo that you send attached Circle 1 the graph is very good in the tab but in the circle 2 it looks old.
VISUAL PROBLEM IN DCTABPAGE USING TYPE or COLOR
VISUAL PROBLEM IN DCTABPAGE USING TYPE or COLOR
- Attachments
-
- Example.jpg (117.32 KiB) Viewed 14586 times
Nolberto Paulino
Regards
Regards
Re: VISUAL PROBLEM IN DCTABPAGE USING TYPE or COLOR
Can you give me a test program that I can compile and run?
The eXpress train is coming - and it has more cars.
Re: VISUAL PROBLEM IN DCTABPAGE USING TYPE or COLOR
Hello Roger Deputy Example using TabPage
tabpage 1 and tabpage 4 the graphic is different from tabpage 2 and tabpage 3 since one uses COLOR and TYPE, that also happens with TABWIDTH and ANGLE, in TabPage 4 the graphic is correct but if it comes in you will notice that using TYPE XBPTABPAGE_TAB_BOTTOM change the graph to tabpage 2 and tabpage 3
tabpage 1 and tabpage 4 the graphic is different from tabpage 2 and tabpage 3 since one uses COLOR and TYPE, that also happens with TABWIDTH and ANGLE, in TabPage 4 the graphic is correct but if it comes in you will notice that using TYPE XBPTABPAGE_TAB_BOTTOM change the graph to tabpage 2 and tabpage 3
rdonnay wrote:Can you give me a test program that I can compile and run?
- Attachments
-
- Captura.JPG (30.66 KiB) Viewed 14578 times
-
- Tabpage.rar
- Example
- (13.51 KiB) Downloaded 814 times
Nolberto Paulino
Regards
Regards
Re: VISUAL PROBLEM IN DCTABPAGE USING TYPE or COLOR
In the sample you gave me you did not use COLOR GRA_CLR_WHITE on the last 2 tabpages.
If you want visualstyle then add PREEVAL {|o|o:usevisualstyle :=.t.}
This only works for tabs on top.
This is from the Xbase++ documentation:
XbpTabPage:type
Determines the position of the tab.
Attribute: EXPORTED
Data type: Numeric (XBPTABPAGE_TAB_TOP)
Description
One of the #define constants XBPTABPAGE_TAB_TOP or XBPTABPAGE_TAB_BOTTOM can be used for :type. They determine whether to display the tab at the top or bottom of the page.
Note: If a visual style is assigned to the XbpTabPage object, the constant XBPTABPAGE_TAB_TOP should be assigned to member :type. Otherwise, the tab page object is displayed using compatible imagery. For more information about visual styles see XbpWindow:useVisualStyle and the function IsThemeActive().
If you want visualstyle then add PREEVAL {|o|o:usevisualstyle :=.t.}
This only works for tabs on top.
This is from the Xbase++ documentation:
XbpTabPage:type
Determines the position of the tab.
Attribute: EXPORTED
Data type: Numeric (XBPTABPAGE_TAB_TOP)
Description
One of the #define constants XBPTABPAGE_TAB_TOP or XBPTABPAGE_TAB_BOTTOM can be used for :type. They determine whether to display the tab at the top or bottom of the page.
Note: If a visual style is assigned to the XbpTabPage object, the constant XBPTABPAGE_TAB_TOP should be assigned to member :type. Otherwise, the tab page object is displayed using compatible imagery. For more information about visual styles see XbpWindow:useVisualStyle and the function IsThemeActive().
The eXpress train is coming - and it has more cars.
Re: VISUAL PROBLEM IN DCTABPAGE USING TYPE or COLOR
hi
as i know XBPTABPAGE_TAB_BOTTOM disables visual style see PDR 6148
when working with Codejock we found out that Windows have Tab-Control, which is only the Tabs, and a Static as Body.
i have build native Tab-Control with ot4xb in DXE.LIB DLL/LIB of Demo is for v1.9.355
as i know XBPTABPAGE_TAB_BOTTOM disables visual style see PDR 6148
---Arranging the tabs of an XbpTabPage object at the bottom using the
XBPTABPAGE_TAB_BOTTOM type causes the tab page to be displayed in
"Classic" mode. In other words, no visual style is used to display
the tab page on operating systems such as Windows XP or Vista.
This is by design. There is no visual style defined by Microsoft
for tabs arranged at the bottom. Consequently, visual styles are
disabled for bottom-type XbpTabPage objects
when working with Codejock we found out that Windows have Tab-Control, which is only the Tabs, and a Static as Body.
i have build native Tab-Control with ot4xb in DXE.LIB DLL/LIB of Demo is for v1.9.355
greetings by OHR
Jimmy
Jimmy
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: VISUAL PROBLEM IN DCTABPAGE USING TYPE or COLOR
It's beautiful, Jimmy, the buttons work! And where to get DXE_BASE.dll?
Re: VISUAL PROBLEM IN DCTABPAGE USING TYPE or COLOR
uuuups ... here it is. both are include in DXE.LIB see "User Constribution"Eugene Lutsenko wrote:It's beautiful, Jimmy, the buttons work! And where to get DXE_BASE.dll?
https://bb.donnay-software.com/donnay/v ... f=7&t=1583
greetings by OHR
Jimmy
Jimmy
Re: VISUAL PROBLEM IN DCTABPAGE USING TYPE or COLOR
Hello Auge_Ohr
I have compiled your example with Alaska 1.9 and I have this error
I have compiled your example with Alaska 1.9 and I have this error
Auge_Ohr wrote:hi
as i know XBPTABPAGE_TAB_BOTTOM disables visual style see PDR 6148
---Arranging the tabs of an XbpTabPage object at the bottom using the
XBPTABPAGE_TAB_BOTTOM type causes the tab page to be displayed in
"Classic" mode. In other words, no visual style is used to display
the tab page on operating systems such as Windows XP or Vista.
This is by design. There is no visual style defined by Microsoft
for tabs arranged at the bottom. Consequently, visual styles are
disabled for bottom-type XbpTabPage objects
when working with Codejock we found out that Windows have Tab-Control, which is only the Tabs, and a Static as Body.
i have build native Tab-Control with ot4xb in DXE.LIB DLL/LIB of Demo is for v1.9.355
- Attachments
-
- Captura.JPG (19.82 KiB) Viewed 14538 times
Nolberto Paulino
Regards
Regards
Re: VISUAL PROBLEM IN DCTABPAGE USING TYPE or COLOR
that is the missing DLL Eugen ask for so i upload DXE_BASE just 1 Msg above.digitsoft wrote:I have compiled your example with Alaska 1.9 and I have this error
greetings by OHR
Jimmy
Jimmy