original color if the tab is not "Overview"?
--- In [EMAIL PROTECTED], "Jesper Dybdahl"
<[EMAIL PROTECTED]> wrote:
> Don't know if you could control it by tab page somehow, but you can
specify
> controls using the FormRowDisplayOption.affectedElementsByControl():
>
> _options.affectedElementsByControl(CustTable_AccountNum.id
());
> _options.affectedElementsByControl(control::CustTable_Name);
>
> So you could add that for all the controls in your grid. I did try
to
> specify the control id for a tab page and a grid, it didn't work.
That would
> have been nice.
>
> Best regards,
>
> Jesper Dybdahl
> keyZONE Solutions
>
>
>
> _____
>
> From: byteway_so [mailto:[EMAIL PROTECTED]
> Sent: 7. april 2004 10:36
> To: [EMAIL PROTECTED]
> Subject: [development-axapta] tabpage
>
>
> Hi all,
>
> Some time ago I saw some emails about the tab-control.
> It talked about the property: isActivePage().
>
> Now I have the following:
> A tab control with two tabpages[Overview, General].
> In the overview I show a grid with a colored background for a row
> that meets the specification. I did this in the "displayOption" of
> the form.
>
> But when I click to the second tabpage (General) I do not want to
> have the background colored. But in the displayOption method the
> value of isActivePage() does not seem toe work...
>
> How can I stop seeing colors in when I am in the second tabpage?
>
> To be complete, I have added the displayOption method below:
>
> public void displayOption(Common _record, FormRowDisplayOption
> _options)
> {
> int colorGrey = winapi::RGB2int( 221, 221, 221 ); //Grey
> MyTable table;
> ;
>
> if (tpOverview.isActivePage() ) // only for tabpage 1
> {
> table = _record;
>
> if (table.active == NoYes::Yes)
> {
> _options.backColor( colorGrey );
> }
> }
> }
>
>
>
> Is it some method I forget to override?
> Any help is welcome.
>
> /b
>
>
>
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
>
>
<http://rd.yahoo.com/SIG=12cnsq6jh/M=290828.4794622.5939935.1261774/D=
egroup
>
web/S=1705006764:HM/EXP=1081413418/A=1950449/R=0/SIG=1242fbsp7/*http:/
/ashni
> n.com/clk/muryutaitakenattogyo?YH=4794622&yhad=1950449> click here
>
> <http://us.adserver.yahoo.com/l?
M=290828.4794622.5939935.1261774/D=egroupweb
> /S=:HM/A=1950449/rand=328273355>
>
> _____
>
> Yahoo! Groups Links
>
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/development-axapta/
>
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service
> <http://docs.yahoo.com/info/terms/> .
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

