Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

event.Control as foo in ironpython #611

Closed
@faststare

Description

@faststare

Environment

  • Pythonnet version: latest
  • Python version: 3.6.4
  • Operating System: WinOS

Details

I like to have an autocomplete textbox in datagridview with editingshowing event handler. in c# event argument in function event.Control can be morph to a textbox with that event. as e.Control as Textbox but in ironpython I received a invalid because I use as keyword in winform expression and not in import expression.
how can I achieve the same functionality of this?
TODO

  • What commands did you run?

python dgv.py

-   If there was a crash, please include the traceback here.file dgv.py line 70autotext = e.Control as TextboxSystaxError: unexpected token 'as'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp