<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx</link><description>Renaud posted some comments to the previous post about transparency forms and made some really cool enhancements to the code, along with a note about using a class module to make it easier to use. This is how I use transparency forms in my own implementations</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8461926</link><pubDate>Tue, 06 May 2008 05:10:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8461926</guid><dc:creator>Opa-Horst</dc:creator><description>&lt;p&gt;Very need indeed, but doesn’t seem to work properly on my system (XP).&lt;/p&gt;
&lt;p&gt;The login form seems to sit behind the lightbox form and seems not to be active. I can type information in the login box, but the buttons don’t work. Can you help?&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8462022</link><pubDate>Tue, 06 May 2008 06:20:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8462022</guid><dc:creator>Renaud Bompuis</dc:creator><description>&lt;p&gt;Hi Rob, &lt;/p&gt;
&lt;p&gt;I'll have a hard time one-upping this now :-)&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8463154</link><pubDate>Tue, 06 May 2008 17:47:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8463154</guid><dc:creator>Edwin Blancovitch</dc:creator><description>&lt;p&gt;HEy guys this is great, i was wondering how to acomplish this, but you have come with a solution.&lt;/p&gt;
&lt;p&gt;I was wondering, can ypu make this in an downloadable example.&lt;/p&gt;
&lt;p&gt;It will be great to have such coded already implemented.&lt;/p&gt;
&lt;p&gt;You guys talk about renaud's class and Rob Cooper Love for class modules . . .&lt;/p&gt;
&lt;p&gt;Can you just create and publish it here, so we can all bennefit.&lt;/p&gt;
&lt;p&gt;What do you say?&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8463255</link><pubDate>Tue, 06 May 2008 18:24:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8463255</guid><dc:creator>María</dc:creator><description>&lt;p&gt;Hi Rob, Thanks for sharing with us your great work !!, i&amp;#180;ve just implemented in a new project that I am working on..&lt;/p&gt;
&lt;p&gt;By the way I post a code problem in the Wrox Forum, Do you have the opprotunity to read it ??&lt;/p&gt;
&lt;p&gt;Thanks again .&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8463418</link><pubDate>Tue, 06 May 2008 19:39:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8463418</guid><dc:creator>robcooper</dc:creator><description>&lt;p&gt;Opa-Horst: Make sure that the frmLogin form has the Popup and Modal properties set to Yes.&lt;/p&gt;
&lt;p&gt;Renaud: :) Thanks for your comments in the previous post!&lt;/p&gt;
&lt;p&gt;Edwin: Good suggestion! I'll see if this is something we can do.&lt;/p&gt;
&lt;p&gt;Maria: Thanks - glad to hear you'll be able to take advantage of this! I read the question in the Wrox forum and will try to respond through there.&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8463809</link><pubDate>Tue, 06 May 2008 22:55:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8463809</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Yes, an example mdb would be helpful because I get an error in the line:&lt;/p&gt;
&lt;p&gt;Private m_objLightbox As LightboxForm &lt;/p&gt;
&lt;p&gt;no matter what version of Access I use.&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8463892</link><pubDate>Tue, 06 May 2008 23:37:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8463892</guid><dc:creator>Opa-Horst</dc:creator><description>&lt;p&gt;Thanks Rob, login form wasn’t set to pop-up, changed it and it works beautifully now! Will apply it to my current project. Really great!&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8464382</link><pubDate>Wed, 07 May 2008 03:41:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8464382</guid><dc:creator>robcooper</dc:creator><description>&lt;p&gt;Opa-Horst: Thanks for the feedback!&lt;/p&gt;
&lt;p&gt;David: What is the error you are seeing?&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8465350</link><pubDate>Wed, 07 May 2008 10:48:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8465350</guid><dc:creator>Renaud Bompuis</dc:creator><description>&lt;p&gt;For anyone interested, I have included Rob's code and made some minor improvements to my sample databases.&lt;/p&gt;
&lt;p&gt;You an get them from my blog, just click on my name above.&lt;/p&gt;
&lt;p&gt;Thanks again Rob for sharing this with us, it was enlightening :-)&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8466424</link><pubDate>Wed, 07 May 2008 21:16:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8466424</guid><dc:creator>Vladimir Cvajniga</dc:creator><description>&lt;p&gt;Can this trick be implemented in the next version of Access so that no coding is needed?&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8469909</link><pubDate>Thu, 08 May 2008 10:57:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8469909</guid><dc:creator>Vladimir Cvajniga</dc:creator><description>&lt;p&gt;Access 2007: Is there any function to highlight current row in continuous form? I'm talking about form with conditionally formatted fields, ie. not just a datasheet.&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8471611</link><pubDate>Thu, 08 May 2008 15:55:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8471611</guid><dc:creator>Renaud Bompuis</dc:creator><description>&lt;p&gt;To Vladimir: you should have a look at some of the forums and websites like AccessMonster and the sites from the Access MVP (just search for it, there are a few interesting web sites).&lt;/p&gt;
&lt;p&gt;I'm not giving links here because it seems the comments don't get through.&lt;/p&gt;
&lt;p&gt;There is not -to my knowledge- any function to highlight the current row in a continuous form. There are a few tricks that can work using a textbox behind the other controls and conditional formatting to change its backcolor for the current record.&lt;/p&gt;
&lt;p&gt;Have a look at &amp;nbsp;Stephen Lebans' website.&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8472178</link><pubDate>Thu, 08 May 2008 17:30:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8472178</guid><dc:creator>Renaud Bompuis</dc:creator><description>&lt;p&gt;To Vladimir again: after experimenting a bit I got row highlighting working in a way that's simple and probably nicer than the usual stuff I've seen.&lt;/p&gt;
&lt;p&gt;In your continuous form, add a Panel and call it Highlighter, make it fit the size of the area to highlight (the size of the Detail section in the form). Send the Panel behind the other controls.&lt;/p&gt;
&lt;p&gt;Add the following to your Form's code (supposing that ID is the Unique ID field of your record):&lt;/p&gt;
&lt;p&gt;Dim currentId As Variant&lt;/p&gt;
&lt;p&gt;Private Sub Form_Current()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;currentId = ID&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;p&gt;Add the following code to the Detail section's OnPaint event:&lt;/p&gt;
&lt;p&gt;Private Sub Detail_Paint()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;If (ID = currentId) Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Highlighter.BackColor = vbYellow&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Highlighter.BackColor = vbWhite&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;p&gt;If anyone is interested I will make a post on this with a sample database.&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8472428</link><pubDate>Thu, 08 May 2008 18:31:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8472428</guid><dc:creator>Edwin Blancovitch</dc:creator><description>&lt;p&gt;Reneaud, and Vladimir.&lt;/p&gt;
&lt;p&gt;Reneaud, you said, :&amp;quot;Add a panel&amp;quot;, what do you meant by a panel, i think you meant a textbox, correct?&lt;/p&gt;
&lt;p&gt;I have been trying with a lot of coding for the current row highlight, and i have seen the code of stephens , by the way great implementation.&lt;/p&gt;
&lt;p&gt;I was using lebans solution until this new verssion of access, the problem was that new verssion uses a different image format, than old verssions of access.&lt;/p&gt;
&lt;p&gt;I personally contacted stephen and he told me to use other solutions because his was outdated.&lt;/p&gt;
&lt;p&gt;Well, i started looking and in utter access i found a great solution, working with just a textbox(one by each color) and changing the expression inside the text box, and using a block character to fill the textbox.&lt;/p&gt;
&lt;p&gt;It just works, and is great, very light solution, the only problem is that it takes a lot of textboxes to acomplish what we need.&lt;/p&gt;
&lt;p&gt;Vladimir, did you were able to make the ribbon work, or to just enable the old command bars in your solution, we just left that conversation somewhere in space.&lt;/p&gt;
&lt;p&gt;Will like to know what happened?&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8473417</link><pubDate>Thu, 08 May 2008 21:18:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8473417</guid><dc:creator>Vladimir Cvajniga</dc:creator><description>&lt;p&gt;Edwin: Still trying to get it to work. There's a bug in A2007: when I open 2002 MDB I can see my CommandBar - that's what I need; but when I save the MDB as ACDDB the CommandBar disappears - I can see other CommandBars instead. :-(&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8473629</link><pubDate>Thu, 08 May 2008 21:47:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8473629</guid><dc:creator>Vladimir Cvajniga</dc:creator><description>&lt;p&gt;Renaud Bompuis: I use that trick in my A97 projects. But it can't be done with different colors for different fields and/or with fields with conditional formatting.&lt;/p&gt;
&lt;p&gt;Current status:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://img140.imagevenue.com/img.php?image=71850_CurrentRow-current_status_122_653lo.jpg"&gt;http://img140.imagevenue.com/img.php?image=71850_CurrentRow-current_status_122_653lo.jpg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is what I get when I use &amp;quot;the trick&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://img109.imagevenue.com/img.php?image=71925_CurrentRow-what_I_get_122_1042lo.jpg"&gt;http://img109.imagevenue.com/img.php?image=71925_CurrentRow-what_I_get_122_1042lo.jpg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is what I really need:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://img239.imagevenue.com/img.php?image=72102_CurrentRow-what_I_need_122_79lo.jpg"&gt;http://img239.imagevenue.com/img.php?image=72102_CurrentRow-what_I_need_122_79lo.jpg&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8475510</link><pubDate>Fri, 09 May 2008 02:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8475510</guid><dc:creator>Renaud Bompuis</dc:creator><description>&lt;p&gt;To Vladimir and Edwin: I'm sorry, I just realised that I used the wrong terminology. By Panel I meant Rectlangle (*not* a TextBox).&lt;/p&gt;
&lt;p&gt;From your screenshots it seems that you want to add a shade to all the fields for the current row rather than just highlight it in a single colour.&lt;/p&gt;
&lt;p&gt;It's probably possible to go through each control during the Detail_Paint() and calculate its backcolor to add a darker shade but I'm not sure how well it would work.&lt;/p&gt;
&lt;p&gt;If I have a bit of time I'll try to make a blog post and a sample database this week-end on that subject.&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8479149</link><pubDate>Fri, 09 May 2008 13:41:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8479149</guid><dc:creator>Vladimir Cvajniga</dc:creator><description>&lt;p&gt;Renaud Bompuis &amp;quot;From your screenshots it seems that you want to add a shade to all the fields for the current row rather than just highlight it in a single colour.&amp;quot;&lt;/p&gt;
&lt;p&gt;Yes, you've got the idea!&lt;/p&gt;
&lt;p&gt;P.S. I think that &amp;quot;What's new in Access 2007&amp;quot; was talking about highligthing of current row, but now I realised that it was meant for datasheets only. :-(&lt;/p&gt;
&lt;p&gt;I'm really disappointed...&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8479196</link><pubDate>Fri, 09 May 2008 13:45:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8479196</guid><dc:creator>Vladimir Cvajniga</dc:creator><description>&lt;p&gt;Renaud Bompuis: I'd appreciate if new record in continuous form was graphically distinguished as well. Maybe different grade of shade or something like that.&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8480851</link><pubDate>Fri, 09 May 2008 19:34:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8480851</guid><dc:creator>Phillip Kocmoud</dc:creator><description>&lt;p&gt;This creates a great effect, but I'm stuck on the following problem:&lt;/p&gt;
&lt;p&gt;The LightboxForm can still take the focus, when clicked on. Even though the login form is in the foreground and set as modal and popup. &lt;/p&gt;
&lt;p&gt;If I Alt-f4 to close the LightboxForm, the login form comes to the foreground again and functions normailly as a modal form.&lt;/p&gt;
&lt;p&gt;Is there a way to make the LightboxForm focus disabled?&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8483295</link><pubDate>Sat, 10 May 2008 05:03:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8483295</guid><dc:creator>Renaud Bompuis</dc:creator><description>&lt;p&gt;@Phillip: this should not happen. Make sure that the frmLightBox has its modal property set to &amp;quot;No&amp;quot;.&lt;/p&gt;
&lt;p&gt;Whenever you use the transaprency layer you have to make sure that it's in a scenario where it's opened from a popup modal dialog box like the login form in the example.&lt;/p&gt;
&lt;p&gt;The transparency layer is just a normal form so if you open it from non-modal forms it will be clickable and may end-up at the top of other windows.&lt;/p&gt;
&lt;p&gt;If this still happens to you I would suggest adding a property to the LightBoxForm such as OpeningForm where you keep a reference to the form that opened the layer (such as the Login form in the example).&lt;/p&gt;
&lt;p&gt;Add some code to the OnFocus event for the frmLightBox to move back the focus to that OpeningForm.&lt;/p&gt;
&lt;p&gt;It shouldn't be necessary though.&lt;/p&gt;
&lt;p&gt;Another thing that usually cause problems is to open modal forms from other modal forms: there should never be more than one modal form open at any time.&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8494517</link><pubDate>Mon, 12 May 2008 17:49:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8494517</guid><dc:creator>Phillip Kocmoud</dc:creator><description>&lt;p&gt;Thank you Renaud! &lt;/p&gt;
&lt;p&gt;It turned out to be caused by calling it from an separate open modal form.&lt;/p&gt;
</description></item><item><title>re: Follow up to Transparency Forms</title><link>http://blogs.msdn.com/access/archive/2008/05/05/follow-up-to-transparency-forms.aspx#8495090</link><pubDate>Mon, 12 May 2008 19:27:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8495090</guid><dc:creator>Edwin Blancovitch</dc:creator><description>&lt;p&gt;I think you are the appropriate guys so i can ask this question.&lt;/p&gt;
&lt;p&gt;If you reads posts from Vladimir and others . . . you will see need n code from access to do things that are needed in a program such as access.&lt;/p&gt;
&lt;p&gt;Access community really needs not only to highlight the current row, also need to create conditional formatting rows based on more than 3 conditions, and maybe also use icons.&lt;/p&gt;
&lt;p&gt;If you guys do not fix a solution people just start to see other products like external grids and stuff not necessarily. . .&lt;/p&gt;
&lt;p&gt;I used to have code from www.lebans.com to highlight the current row in datasheet or continuous form, also to highlight the row based on some conditions, (the access embed conditional format only supports 3)&lt;/p&gt;
&lt;p&gt;lebans created a solution for this, but now is outdated, I think you guys can revise the api's and create a new solution(maybe give it to Microsoft :-) )&lt;/p&gt;
&lt;p&gt;The thing is that if you look into excel you have a great conditional formatting options even with icons and all that stuff, but that doesn’t exist for excel.&lt;/p&gt;
&lt;p&gt;What do you say, can you guys do it?&lt;/p&gt;
</description></item></channel></rss>