SSRS Action hyperlink colour change - sql-server

See attached screen shot.
I have made the 4 text box's hyperlinkes to different reports.
Is it possible to have a some sort of formula which will say change the colour of the box when the cursor is hovered over the hyperlink like a webpage button could do?

Unfortunately SSRS does not allow events like onHover etc. The only thing you can do is to provide a label for the entry or to simply color the text using the properties section and set it to underline. However, this would mean at all times it would be underlined and colored.

Related

How to set text-positions of different controls inside a FlowLayoutPanel, so that they are on a straight line?

In this WinForms-App (not my choice, they made me use WinForms) there is a FlowLayoutPanel filled with a NumericTextBox, a Label and a CheckBox.
Each control has a text which is displayed. The text of the Label is about 3 pt lower than the other texts (image).
Changing the margin of the Label is not an option, because the outcome after changing the font could be unwanted.
Has anyone an idea of how to fix this without changing the margin?
I tried to change the anchoring and docking for the controls in the FlowLayoutPanel, and the outcome that came closest to my expectations was the one in the image.

Combo box in a MFC application

My question is about combo boxes in Windows MFC applications.
The dropdown part of the combo box contains items composed of a bitmap and a string.
Sometimes, the strings are too long and I have to adjust the width of the dropdown part of the combo box using the CComboBox::SetDroppedWidth() method.
My problem is that when the combo box is near the right edge of the computer screen, the right part of the dropdown is hidden (see image_1 and image_2 below).
I would like it to behave like in Excel (see image_3 below) meaning I would like the dropdown list to be shifted accordingly so that all its items can be seen without being cropped.
How can this be achieved?
image_1: right part of the dropdown is NOT hidden
image_2: near the computer right edge, the right part of the dropdown is hidden
image_3: Excel combo box
=================================================================
EDIT 1
=================================================================
EDIT 2
Ok. I forgot to mention that m_cbXmodels is a CComboBoxEx object. This is why the handles are NULL. I could get the handles via GetComboBoxCtrl()...
Handle the CBN_DROPDOWN notification.
Get the handle for the list control with GetComboBoxInfo.
Now use MoveWindow to adjust the window as needed.
Getting the current screen size is available with MonitorFromWindow. See rcWork member in MONITORINFO. You just need to adjust the left and right coordinates.
EDIT: As you can read in the comments: My Approach with CBN_DROPDOWN is to early Thanks to zett42). It is not possible to resize the combo box list part here.
But it is possible to post a user defined message to the same window and to reposition the window than.

How can I neatly line up right-aligned check boxes with with other controls?

The Visual Studio WinForms designer lets you snap together text boxes, list boxes, buttons, and so forth reasonably well. However, a check box with CheckAlign=MiddleRight does not work quite like the others, because it has two components: the built-in label, and the check box itself. If you line up the text with other labels, the check box is left floating and will not automatically line up. You can turn off AutoSize and attempt to size the CheckBox control so the check box lines up, but this is touchy and will be thrown off by custom font sizes.
In this example, I've almost lined up the check box with the other controls, but not quite:
If I had several check boxes it would be a real headache, as with AutoSize turned off the position of the check box is relative to the end of the text, so each control has to be individually sized pixel by pixel.
What's the best way to line up check boxes with other controls?
One workaround is to not include text with the CheckBox and instead have a separate Label control. However, by doing so you lose the ability to click on the label to toggle the check box. On a high-resolution screen, clicking a 10x10 pixel is finicky, a poor UX experience. You could add an OnClick event to the label, of course, but that seems like solving the wrong problem.
Here's an example of someone else with the same issue: in the preferences panel in Oracle SQL Developer, when there's a mix of properties the check boxes are handled with separate labels and boxes:
Personally, i avoid that issue by not having the CheckBoxes aligned to the right:
rather than having the caption on the left.

Display attribute HI and Color option WHT in display files

If we select DSPATR(HI),our label gets highlighted and if we select
COLOR(WHT),label again highlights. In both case Label looks
highlighted i.e. WHITE. Then what is the difference between both
properties?
There is no difference. DSPATR(HI) was implemented before colour displays came out. When IBM started selling colour displays, they re-used the attribute bytes. This way, you could design a display panel and it would work on colour and monochrome displays without changes. The DSM manual has details of the 5250 data stream if you're interested.

How to increase the size of Gridview RepositoryEditText ? winforms devexpress

I used Repository EditText in Gridview to write description of some items. When i click enter button on keyboard, the new rows will comes to type but the height of the RepositoryEditText will not increase. If user Click enter button keyboard i need to extend the EditText height. I want to display both lines in same cell of gridview. How to complete my task ? Help me.
The TextEdit editor doesn't support the multi-line feature. So, you need to use MemoEdit as you already did. To display several lines, increase the GridView.RowHeight property, for example, to 60. On the other hand, in order to adjust a row height to completely display a cell content, enable the GridView.OptionsView.RowAutoHeight option.

Resources