DCTABPAGE/DCSTATIC and DCGROUP v331 to v334

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

DCTABPAGE/DCSTATIC and DCGROUP v331 to v334

#1 Post by RDalzell »

GoodDay All,

I continue to struggle with what appears OK using xBase v1.90.331, eXpress b252 (images v331*)
vs xBase v1.90.354, eXpress b252 (images v354*) - with and without manifests.

Using xBase v1.90.354 it appears that it ignores the DCSTATIC and messes up the DCGROUP.

I have tried using GRA_CLR_BACKGROUND and XBPSYSCLR_TRANSPARENT to no avail.

Any suggestions would be greatly appreciated as I am stuck in xBase 331 until I find a remedy.

The sample code and images are attached.

Thanks,

Rick
Attachments
TabPage.zip
(87.72 KiB) Downloaded 709 times

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

Re: DCTABPAGE/DCSTATIC and DCGROUP v331 to v334

#2 Post by rdonnay »

Rick -

I spent some time with your code this morning and I agree that Xbase++ has always had a problem with XbpStatic type Groupbox.
The only way I have been able to overcome this is by making sure that all child objects have a foreground and background color.

I also see that there is a difference in the look from build 331 to 355.

I think I can advise you on how to get the look you want but first I need to be sure what it is that you want it to look like.

If you can take a screen shot of the look you want, I will work on it.

BTW - I will be at home until about 11:00am MST, so you can call me on this if you wish and we will hook up via Teamviewer.

Roger
The eXpress train is coming - and it has more cars.

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: DCTABPAGE/DCSTATIC and DCGROUP v331 to v334

#3 Post by Cliff Wiernik »

Rick, give me something of yours to look at. I have been use Xbase++ 19v355 and exp 252/254. I have changed to using DCGROUPBOX's as parents of objects that I did not in the past and am configured to work either with themes or without themes. I think I have addressed the problems caused by having themes active and not active when still using a manifest. I can retain my old appearance or the new appearance if I want to. I have special color clauses on all groupboxes/checkboxes/statics as Express itself does not handled it the way it is needed or at least it did not. I have my work arounds developed during the 355 beta phase and have not tried removing them.

Code examples and screen shots of before and after would be needed so I can compare to what I am doing. It was a real pain to address these issues.

Cliff.

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: DCTABPAGE/DCSTATIC and DCGROUP v331 to v334

#4 Post by RDalzell »

Roger and Cliff,

I desire to have the applications display as in image v331-Tab1.Png

Thanks,

Rick
Attachments
v331-Tab1.png
v331-Tab1.png (19.88 KiB) Viewed 13051 times

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: DCTABPAGE/DCSTATIC and DCGROUP v331 to v334

#5 Post by Cliff Wiernik »

Rick,

Can you post an image of how it looks in 355, same code.

Cliff.

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: DCTABPAGE/DCSTATIC and DCGROUP v331 to v334

#6 Post by RDalzell »

Cliff,

v354-Tab1.Png
Attachments
v354-Tab1.png
v354-Tab1.png (9.77 KiB) Viewed 13046 times

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

Re: DCTABPAGE/DCSTATIC and DCGROUP v331 to v334

#7 Post by rdonnay »

Rick -

This code gives me the desired result in both 331 and 355.

Code: Select all

  /* ---- Tab Page #1 ---- */

  @  0.00, 0.00 DCTABPAGE oTabPage1  CAPTION 'Tab 1' ;
   SIZE 50.00,10.00  PREOFFSET 0  POSTOFFSET 85 COLOR {000,125,255}

  DCSETPARENT TO oTabPage1

  @  1.60, 1.50 DCSTATIC TYPE XBPSTATIC_TYPE_RECESSEDBOX OBJECT oStatic1 ;
      SIZE 47.00, 7.90 PARENT oTabPage1 COLOR GRA_CLR_BLACK, GRA_CLR_BACKGROUND ;
      RESIZE DCGUI_RESIZE_BOTH

  DCSETPARENT TO oStatic1

  @   .40, 1.50 DCGROUP oGroup1      CAPTION " Group 1 " ;
      SIZE 44.00, 7.10 PARENT oStatic1 COLOR {000,125,255},GRA_CLR_BACKGROUND

  @  1.00, 2.00 DCSAY "Name 1" SAYSIZE  0  PARENT oGroup1 COLOR GRA_CLR_BLACK

  @  3.00, 2.00 DCSAY "Address 1" SAYSIZE  0  PARENT oGroup1 COLOR GRA_CLR_BLACK
The eXpress train is coming - and it has more cars.

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: DCTABPAGE/DCSTATIC and DCGROUP v331 to v334

#8 Post by RDalzell »

Roger,

Works great,

Thank You

Rick

Post Reply