non-English characters displayed incorrectly until CommandButton is clicked - excel

I have excel file with some ActiveX CommandButtons integrated directly into worksheet. Their Captions written in non-English language with some non-English characters. Problem I encountered that some of these characters are not displayed correctly until CommandButton is clicked (picture below):
Have anybody encountered similar problem? I tried changing fonts and character size, but that did not helped.
I cannot provide any code since I have no idea where to start. Maybe it is possible to somehow fake constant focus to them?

Laba diena!
If you created these with ActiveX Command buttons, you should be able to view the name and caption properties by either 1) clicking once, then right-clicking to get a menu with properties as a choice or 2) double-clicking to get a click event started in the visual basic editor. From there you should see what's listed as the caption for the button.
In the button properties there should be a "TakeFocusOnClick" property that defaults to True. I don't know if it will fix your problem, but try changing it to false. I couldn't emulate your exact problem, so I couldn't tell.
sėkmės!

Related

VBA Cannot set RightToLeft even with Excel Language set to Arabic

I have a problem with my Excel (Office 365, Windows 10) VBA Project. I am attempting to create a GETTEXT equivalent, allowing authors to internationalize and therefore provide localisations for their own projects. I am trying to replicate the view that somebody using Excel would see if using an RTL language such as Arabic.
I have downloaded, and installed the Arabic language pack. I have made it my preferred language and it opens up as default with my Office apps (BTW - I Don't understand Arabic, I could have as easily downloaded any other RTL language).
I have selected an Arabic font from Tools > Options > Editor Format > Font: Normal Text = "Dubai Medium (Arabic)"
Unfortunately, I am not able to display Arabic text directly in Control Properties window, e.g. Form caption or Textbox text; nor am I able to type or paste Arabic text into the Editor window. I get the dreaded ????.
Built-in Excel Message boxes and commands appear in Arabic and as RTL, but my message boxes and forms can't be set. The only workaround I've found so far is to place the Arabic text in a worksheet cell and call it from there or to paste the text directly into the form control. Also MsgBox allows RTL and Right-Align Text constants, which is fine, but this leaves my Forms all messed up, even if I programmatically change the .Left and .TextAlign values of controls, I still have the issue of left-aligned Form caption, right-aligned close button, and various issues with MultiPage and TabStrip alignment.
I can't believe Microsoft would be so awkward, so I must be missing something. I'm loathe to install Arabic as my Windows language just to test things, as that would really mess up my day - I'd be totally lost - no offence to Arabic users!
Any help would be much appreciated.
Ok, I finally got it to work (sort of). I had to set the System Locale to Arabic. This can be done by the following:
Settings > Time and Language > Language > Administrative Language Settings (link)
Then on the ensuing dialog...
Under the Language for non-Unicode programs, press the Change System Locale button and choose one of the Arabic options.
The only issue is that the Form caption is not right-aligned and the control box (close) is still on the right. But I guess that's small potatoes. All controls with a scrollbar / button (RefEdit, ListBox, ComboBox etc) now have the correct RTL positions. Tabstrips, Frames and MultiPages are also correctly RTL'd. I hope this helps anybody else puzzling over this issue.

When adding the controls through the storyboard, the properties are not applied correctly

In my case, I added a UITextField in the storyboard and I tried to apply some properties through the property window. I enabled the Secure Text Entry property in the property window and I changed the text using the text property in the property window. When changing the text through text property, the UITextField in the storyboard doesn't display the password text rather it displayed the text which I typed in the text property. Can anyone please tell why it is not displaying the password character even though when the Secure Text Entry is enabled in the property window. For the reference, I have attached a video describing the issue which I have faced when adding control through a storyboard. Please download the video using the below link and provide me a better solution for the query.
Video Link: Demo Video
I tested this on XCode as well. This is a bug in VS for Mac's "iOS Designer".
When you run your app though, the text field will show secure characters, so you won't have to worry.
Alternatively, you can just right click on the Storyboard and Open with the native XCode Interface Builder instead, and edit the storyboard therein.
You should file a bug to VS for Mac for this!

Options of message box in Excel

We would like to change the font, color and size of the text displayed in message boxes.
Can/how do you VBA this?
Nothing tried, we are not finding any help in online manuals, including the Microsoft help site.
We would like to make the message box big, bold and loud.
Easy answer: You can't.
That's why you can't find anything about it in the official documentation of the MsgBox function.
A workaround can be to create your own UserForm where you are free in how to style it.
Add a UserForm in your workbook's code module, and configure it with as many Label and CommandButton controls as needed.
If the label text will be static, you can configure these all through the Properties window in the IDE:
Labels, Command Buttons, etc., are accessible Controls on the UserForm, and can be altered dynamically during runtime if needed, e.g., during the form's Initialize or Activate or any other event handlers. Controls on the form can even alter other controls, for example you could leverage the command button's Click event handler to modify the text associated with Label1 control, etc.
You can even add (or remove) controls (labels and such) dynamically, too, and fully control their appearance/formatting/etc.

ST3: Find text results in panel instead of a buffer

I must have hit a setting in ST3 and caused my program to display results in a panel instead of in a buffer. How do I get it back so that find-text results go into their own tab? I've done some digging around but I can't find what I did.
In the Find in Files panel, there is a series of buttons to the left of the Find field, and the right most one of those is the one that controls whether the find results show up in a panel or in a buffer.
Note that the button may look different in your version as it appears that you're using a different theme (the image below shows the default theme). You can verify that you have the correct button based on the tool tip text.

Changing font of text inside an extension library dialog box?

How do you change the text within the extension library dialog box? No matter what I do, the text remains the same size. I can see the font change in the designer cleint but not in the browser. I tried looking at it with IE Developer Tools but I can't even see the text anywhere.
I have no idea what was going on yesterday but it just wasn't working. I was simply trying to set the text size of a computed field inside a dialog box. I changed the font size in the properties of the computed field and seems to work now, We have seen these issues on our dev server before.
I am not sure if you can change the text with text options but you can if you use HTML, and it should also work with CSS.
Standard <h1><h2><h... oh you get the idea works for me.

Resources