Using Win32 functions in Visual FoxPro Image Gallery
LanguageBar ActiveX Control
Feb 19, 2011.
Summary: LanguageBar ActiveX control displays active input language for the current process. It allows switching between input languages registered on a computer. It can also freeze selected input language preventing it from being accidentally changed. Through this control, other input controls on a form can be locked to using specific input languages.

Regular price:
  Buy this solution for $15.00
Instant download link by email.

Price for subscribers:
Make payments with PayPal - it's fast, free and secure!   Buy this solution for $10.00
Instant download link by email.

Download demo
Contents
Introduction
Download Help file
Introduction     ..top
Quick start.
Auto switching between input languages in VFP form.

This is what the control designed for:
  • Displays currently selected input language for a process.
  • Switches between available input languages.
  • Locks selected input language preventing it from being accidentally changed.
  • Allows linking input controls to specified languages.


* * *

A form on the picture below has two EditBox controls for entering French and English descriptions for a product.



The French is automatically selected when the left EditBox receives focus. Similarly the English is selected for its counterpart.
*** EditBox1 GotFocus
WITH THIS.LangBar
    * unlock input language
    .InputLanguageLocked = .F.

    * switch to French
    .InputLanguage = 'FR'

    * lock input language
    .InputLanguageLocked = .T.
ENDWITH
An input language can be changed by either double clicking, or through selection in control's context menu.



The Language Bar control reflects change in input language even if the hosting form does not have the keyboard focus. For example, when a language is switched through the Windows Taskbar.

Language names can be displayed as 2 or 3 char IDs, or in [Language (Country)] format.



Through LanguageBar control's InputLanguageChange event, current input language can be displayed in Microsoft StatusBar control (MSComCtlLib.SBarCtrl), or in any other control on a form.

Download Help file     ..top

Note that on some computers a downloaded Help file may need to be unblocked to be viewed properly.
Feb 19, 2011.
Regular price:
  Buy this solution for $15.00
Instant download link by email.

Price for subscribers:
Make payments with PayPal - it's fast, free and secure!   Buy this solution for $10.00
Instant download link by email.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.161.246.212)
8 day(s)Example: 'Storing screen shot of a form to bitmap file'
Google
Advertise here!