Senin, 20 April 2020

[MSAccessProfessionals] Change Forecolor and backcolor

Hi,

Private Sub Corpo_Format(Cancel As Integer, FormatCount As Integer)
    
    Dim ctlVar As control
    For Each ctlVar In Me.Controls
            Select Case ctlVar.ControlType
                Case acTextBox
                    ctlVar.ForeColor = RGB(255, 255, 255)
                    ctlVar.BackColor = RGB(255, 255, 255)
            End Select
    Next
    
End Sub

I have to change the forecolor and backcolor properties in certain conditions, everything works well except for fields where there is a conditional format.
 
do you have any idea why?
 
Thank you very much
Domenico
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#115470) | Reply To Group | Reply To Sender | Mute This Topic | New Topic

Your Subscription | Contact Group Owner | Unsubscribe [sugeng.panjalu.access@blogger.com]

_._,_._,_

Tidak ada komentar:

Posting Komentar