QLIKVIEW - Scatter chart - popup - right to left - qlikview

Is there any way to set the text in the pop-up of the scatter chart to be from right to left?
Thanks.

As with many things in Qlik, there is no way to accomplish this directly through the properties dialog. However, you can manually mimic this by substringing a string of whitespace in your expression names. The below function will pad the left side of your label with whitespace.
Expression Label Dialog:
=Mid(' ',1,len(' ') - len('Exp Label')) & 'Exp Label'
The length of the whitespace string is however wide you would want you pop-up window to be.
You may want to store your whitespace string in a variable to make the label look less ugly.
'Exp Label' is whatever you want your expression label to be named. *It shouldn't be longer than your whitespace string.

Related

Char & behaviour on controls

Currerently I face strange behaviour on my controls when text is present either on advlistbox items or buttonx and probably rest as well. This happens when i use & charackter within string. For instance when i use double && it shows single one. Another example when i put e.g &&&something then it shows &something with s - underscored. Is there anyone whom knows what is going on and how can i avoid that situation?
A double ampersand is used to escape the default behavior of an ampersand relative to controls. When an ampersand precedes control text it underlines the following character, usually to denote that controls hotkey. In the case of your triple ampersand situation you are using the right most ampersand as the underline and the remaining 2 as an escape so that a literal ampersand is displayed in your controls text.
If your goal is to literally display 2 ampersands then you must supply your control text with a total of 4 consecutive ampersands. (&&&&)

In powerpoint VBA, how to change the spacing of a font in a textbox?

Do you know what the command in VBA is in order to space out some text?
I looked on the internet and didn't find anything that would work.
this "SOMMAIRE" textbox has no spacing
and this, is what I want that textbox to look like :
there is more space in between the letters
more exactly, I am looking for the VBA code for this exact button :
Use the shape's .TextFrame2.TextRange.Font.Spacing property. By default it is probably 0. You can change it to other values to increase the font spacing.
Just wanted to add that auto-kerning is also a factor so you'll want to remove that too:
'Set character point spacing to zero
.TextFrame2.TextRange.Font.Spacing = 0
'Remove automatic kerning
.TextFrame2.TextRange.Font.Kerning = False
The kerning property can be viewed manually if you select the shape and in the Font group on the HOME ribbon, click the notch in the bottom right and then go to the Character Spacing tab - you will see a checkbox there where this property is set.

POS for .NET Aligning texts

I am using POS for .NET to print receipts in my POS application. I have a problem with formatting the receipt. I want to apply two alignments in same line. First word should be left aligned and second word should be right aligned
I have tried following code in VB.NET
Dim ESC As String = Chr(&H1B)
Dim displayString As String
displayString += "Description"
displayString += ESC + "|rAQty" + ESC + "|1lF"
But alignment applied for the 'Qty' is not working. Both words a displayed in left aligned. If I use 'Qty' in a another line it works. But I need this two texts are in same line.
How do I do this
UPOS escape sequences are implemented by the device-specific service object according to the capabilities of the hardware.
It may be that your hardware doesn't support mixing alignment on a single line.
Possible solutions might be:
Overprinting the line, e.g. by performing a reverse line feed. Though this might be slow.
If you're using a fixed width font, generate a string in your application with the text aligned appropriately, rather than using escape sequences.

access forms: forcing UCASE in a textbox

i would like to force the textbox to immediately change the text to UCASE as soon as the user moves away from the field. is this possible?
the important thing is that this text will be used in a SQL query to update a table.
In the after update event of the text box on the form, simply go:
If isnull(me.MyTextBox) = false then
Me.MyTextBox = ucase(Me.MyTextbos)
End if
You can also specify a input mask on the form.
">LLLLLLLLL"
The above ">" will force all chars as you type to upper case. The number of L is a any char mask. (and, you don't need the " around the input mask)
Solution from Albert don't work for me.
I use this method: put form in "design view", select the control, in the property sheet, in the format tab, in the format property insert the value ">" w/o quotes.

Eliminate stray whitespace between textboxes on a report

I have 4 stacked textboxes in the body of an SSRS report and am getting a stray space / extra line between textboxes 3 & 4.
This is for an address block - name / title / email / website. Can't put it in a single textbox with intervening vbcrlf tokens because the email and website are links. I've tried formatting it to remove vertical spacing; also calculated the exact position by taking top + height to calculate the position. And of course I've tried positioning it so there are exactly 0 pixels between the text boxes. If I reverse the position of #3 & #4 the rendering looks the same so it isn't stray formatting characters in the data fields.
The solution is to wrap the stacked boxes in a rectangle.
I had this problem as well. It blew my mind until I started over on another part of the form. The new boxes worked perfectly until I moved them to the right of another set of text boxes which had some word wrap in them. I realized the wordwrapped boxes were directly related to the gaps I was seeing the set of textboxes to the right. I guess there's some kind of poor markup going on that tries to line things up horizontally and enclosing the set of textboxes in a rectangle protects them from it.
good idea on putting the info into a table - jumping off that idea - I'm going to construct a dynamic string in my query and output the dynamic string into a textbox. thank you for the idea, I don't know why I didn't think to do that.
Simpler thing is to just check text alignment - the default is "default" which appears to be centered. Changing the text box to the right to "left" fixed this problem for me.
Reduce padding property of the textbox.
Once dragging the textbox one closer to the other the tooltip shows convergence points between two textboxes - make tooltip show 0 points
it is best I could do to control the spacing