• Access
  • Access 97
  • SQL Server
  • Visual Basic
  • CountryCombo ActiveX control

    CountryCombo is an ActiveX control to be used on Windows forms in order to select country from provided list. List is based on ISO specification, contains a country code, country name and icon for country flag. Control is build on Microsoft Visual Basic 6.0 and can be used in Microsoft Visual Basic and Microsoft Access applications (forms). Control can be used as a custom edit control in most grid controls, for example Janus GrigEx.

    All necessary files to run CountryCombo are installed by setup program. You can also install control manually using RegSvr32.exe utility to register apCountryCbo.ocx file.

    Using CountryCombo
    Control ProgID is apCountryComboLib.CountryCombo, control can be inserted into form in design mode as any other ActiveX control.

    CountryCombo Properties
    BackColor as OLE_Color
    CausesValidation as Boolean
    Enabled as Boolean
    Defines a flat style CountryCombo drawn:
    ccFlatlStyleNone standard Windows style (not flat)
    ccFlatlStyleOffice9 Office 2000 flat style
    ccFlatlStyleOffice10 Office XP flat style
    ccFlatlStyleOffice11 Office 2003 flat style
    Font as StdFont
    ForeColor As OLE_COLOR
    hWnd As Long
    ImageCombo As Object
    Provides a reference to internal ImageCombo control
    Text As String
    Value As Variant (Default property)

    CountryCombo Events
    KeyDown(KeyCode As Integer, Shift As Integer)
    KeyPress(KeyAscii As Integer)
    KeyUp(KeyCode As Integer, Shift As Integer)
    MouseDown(Button As Integer, Shift As Integer, x As Single, Y As Single)
    MouseMove(Button As Integer, Shift As Integer, x As Single, Y As Single)
    MouseUp(Button As Integer, Shift As Integer, x As Single, Y As Single)
    Validate(Cancel As Boolean)

    Control also provides a CCImages class, which expose a countries list via CCItems collection and ImageList property. CCItems is a collection of CCItem items.

    Known problems
    ForeColor and BackColor properties are not fully implemented yet.

    Beta Version
    Currently control shows only English country names. If you want to have it on your native language - you can provide translated list and we will include it in new version!

    This product includes software developed by vbAccelerator

    Related links:

    Download: CountryComboSetup.EXE (3012 kb)

    2017 Point International Limited.  All rights reserved. Privacy Statement