Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
Apollo
>
Ticket List/Search
>
Ticket #9297
Apollo
Description
Project Summary
Developer Dashboard
Web Page
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
Downloads
List of Releases
Stats
Source Code
Code Repository list
Subversion
View Repository
CVS
View Repository
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Communication
Forums
List of Forums
Help (1)
Open Discussion (1)
Mailing Lists
list of ML
apollo-talk
News
Ticket #9297
Ticket List
Submit New Ticket
RSS
FindDialog.on_find
Open Date:
2006-10-31 16:52
Last Update:
2006-11-17 11:02
monitor
ON
OFF
Reporter:
take_tk
Owner:
(None)
Type:
Bugs
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None
Details
Reply
次のプログラムで、検索文字列を入れて、「次を検索」ボタ
ンを押すと、次のエラーになる。
# モジュール 'msvcrt-ruby18.dll' のアドレス 1000A6DF で
アドレス 00000040 に対する読み込み違反がおきました。.
# G:\apollo\1.rb:7: class or module required (TypeError)
require "phi"
require "dialogs"
find_dialog = Phi::FindDialog.new
find_dialog.on_find=proc{}
p find_dialog.execute
Ticket History (3/4 Histories)
Show older Histories
2006-10-31 17:30
Updated by:
take_tk
Comment
Reply
Logged In: YES
user_id=908
ruby.exe で実行すると。何も出る前にエラーになる。これは、
ruby終了後に、ダイアログを出そうとするためか?
アドレス 00000001 でアドレス 00000001 に対する読み込み違反が
おきました。.
2006-10-31 18:01
Updated by:
take_tk
Comment
Reply
Logged In: YES
user_id=908
プログラムを次のように変えればOKなので、「ruby終了後に、ダイ
アログを出そうとするため」なのだろう。
require "phi"
require "dialogs"
form = Phi::Form.new
button = Phi::Button.new form,proc{
find_dialog = Phi::FindDialog.new
find_dialog.on_find=proc{|*args|p args}
p find_dialog.execute
}
form.show
Phi.mainloop
* 「class or module required (TypeError)」はdialog.dprの再
構築ででなくなるようだ。
2006-11-17 11:01
Updated by:
take_tk
Resolution
Update from
None
to
Fixed
Comment
Reply
Logged In: YES
user_id=908
[ap-dev:1540]
2006-11-17 11:02
Updated by:
take_tk
Ticket Close date
is changed to
2006-11-17 11:02
Status
Update from
Open
to
Closed
Attachment File List (
0
)
Attachment File List
No attachments
Edit
Add Comment
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Login
Add Comment
Preview
Submit
ンを押すと、次のエラーになる。
# モジュール 'msvcrt-ruby18.dll' のアドレス 1000A6DF で
アドレス 00000040 に対する読み込み違反がおきました。.
# G:\apollo\1.rb:7: class or module required (TypeError)
require "phi"
require "dialogs"
find_dialog = Phi::FindDialog.new
find_dialog.on_find=proc{}
p find_dialog.execute