Highlighting setting in TestComplete Code Editor - syntax-highlighting

What setting to change in testcomplete in order to see all the same words highlighted as the current selected one ?
I selected arrayToSearch (number 1) and i need to see the parameter of the function highlighted too (number 2).

Related

Setting ENABLED to property_false for combo box list item does not alter the prompt foreground color

Using Oracle Form Builder 10.1.2.3.0, I have a List Item of type Combo Box with a Prompt and next to it in the same Block is a CheckBox.
When I disable these two items with
SET_ITEM_PROPERTY('block.item', ENABLED, PROPERTY_FALSE);
the CheckBox and its prompt go gray but the prompt portion of the List Item does not change. This makes the form and its developer look ridiculous.
Is this a bug?
To accomplish what I want I have to execute these when the List Item's enablement changes:
set_item_property('block.item', foreground_color, 'r150g150b150')
set_item_property('block.item', foreground_color, 'r70g70b70')
And these are just guesses because the color meter app is not perfect.
Half of the problem would "go away" if I could use a visual attribute but the form builder app complains about the "gray" color not being named.
Surely there is a better solution. Maybe playing with the LAF? But I have yet to figure out LAF customization.
I would not expect the prompt to change, but the edit area where text is entered will change. There is one exception. If running with colorScheme SWAN or BLAF the text edit are will always remain white unless you explicitly change the color. This is expected behavior.
If you are using SWAN or BLAF, which EBS does, by setting readOnlyBackground=true you can cause the edit area to go from white to a non-white color (the exact color will depend on the colorscheme in use). Because this parameter is not in the config by default it would need to be added manually and also added to the html template file.

How to put a "V" flag in a PowerBI dynamic filter?

"V" flag as example
I have to put a "V" flag like the one showed in the picturein one bookmark in PowerBi, now when you select the filter there is not a "v" flag but only black. Can you please help me?
welcome to stackoverflow
I think what you are wanting to show are the check-marks (or chevron mark) next to the selected item in a filter list.
Normally by default, the option for Multi-select is ON, if you turn it OFF then it will allow you to select one item from the list, putting the "V" next to it.
If you want the "V" to be color or any other symbol, you will have to make you own list and add special characters as I did in my KPI column. See picture
The circle Character I used in a calculated Measure was : UNICHAR(11044) which can change color...
So to select your chevron mark "V" display follow these steps:
Select your Filter
Open the Format pane (the one with the paint roller)
Open your V-Selection controls
Change Multi-select with CRTL position to OFF
Test your filter again
Please see images below:
Changing Multi-Select to display check mark symbol on dropdown filters
Multi-select causes the box to show all Black, as you indicated.
Black box on selected items -
Color symbols on Grid Lists - picture:
Symbols with color added to grids
Hope this helps,
in bocca al lupo,
Andres
Other symbols you can use :
https://www.alt-codes.net/root-symbols

Changing background colors of table cells (Visual Studio Reports 2008)

I have a report in Visual Studio Reports 2008.
I created datasets to select values from ReportParameter (Place).
Selected data from ReportParameter (Place) is used for displaying the report.
How can i change background color of table cells which equals to selected value from ReportParameter (Place)?
This is easily done by setting the Background property on the cells you wish to highlight.
While in design mode, select the cells you want to highlight. In the Properties pane, look for the Background property, and set the Expression to something like the following.
=IIf(Fields!Place.Value = Parameters!Place.Value, "Yellow", "White")
The field name will vary, depending on what you have named yours. This checks to see if the current Place value is equal to the selected parameter value, and sets the Background to Yellow if they match, White if they do not.
This should work in any version of SSRS.

Highlight Date Value but not when it is NULL

Under Property Editor in the Highlights tab I have used this syntax:
1 Less than or Equal BirtDateTime.diffDay(row["GEN_SAFETY"],BirtDateTime.today())
Background color is set to GREEN, but I don't want a highlight if the date is NULL.
How can I accomplish that in the syntax?
I'm not familiar with Plateau Report Designer. In BIRT, it's pretty straightforward. In the Property Editor, you have a Highlight tab, and you add your highlight and set your conditions.
If I'm understanding your question:
You have your background set to green by default.
If your GEN_SAFETY field is today or before, you want it blue.
If there is no date, you want it white.
So you would add two highlights.
The first you already have.
The second would be something along the lines of:

Highlight the row in excel mac 2011 when a cell has a specific word

In Excel 2011 Mac (it seems to be important since other referenced solutions in stackoverflow for excel windows or mac older versions don't seem to work).
I want to apply conditional formatting so when a cell in column D includes a word "student" the full row which includes the cell gets a color format (blue color for the text white/empty filling for the cell).
I have tried INDIRECT and some other formulas but I don't get it right. Only the cell that includes the word gets the formatting, not the whole row (that is, the rest of the cells on the same row where the pattern matches).
Admittedly, this answer is based on the Windows version but it should still work for you.
(Pictures taken from mix of Windows and Mac versions where possible.)
Select Manage Rules... from the Conditional Formatting menu.
Click the New Rule... button.
Select Use a formula to determine which cells to format, enter the formula as shown below, and then click the Format... button to choose your conditional format (blue text with no fill).
- You said you were looking for the word "student" in column D, and I have assumed that row 3 is the first row that you want this conditional formatting to be applied. Just change the 3 to another row number if this is not the case.
If the word "student" is not the only thing in your target cell, then use the following formula instead:
=ISNUMBER(SEARCH("student",$D3))
Then type a range into the Applies to textbox as shown.
- In this example, we assume that row 3 is the first row and row 400 is the last row that you want the conditional formatting to be applied to.
- Note that we did not include column letters in the formula since we want every column of each row to be included.
Click OK and you should be done.
I hope this works for you.
Follow these steps for conditional formatting.
Step 1 - Select Conditional Formatting > New Rule...
Step 2 - Select Style Dropdown
Step 3 - Choose Classic
Step 4 - Select Dropdown with Format only top or bottom ranked values
Step 5 - Select from Dropdown Use a formula to determine which cells to format
Step 6 - Highlight desired Cells and take note of the current cell. (D3)
Step 7 - Use formula: =MATCH("Student",D3,0) in the formula section. Again, D3 is the current cell.
Step 8 - Press OK

Resources