Changes

Jump to: navigation, search

Project R0.1 20131- OOP344

157 bytes added, 23:08, 4 February 2013
Help
! Question!! Comments
|-
|Does ReadOnly if statement work like ESCAPE key ? (Store Can anyone explain me the string in another variable 4.23 and replace it)4. 24 and 5 from cio_test? And, how do you guys initialize the global variable for CIO_TABSIZE ? Do I need think 5 is to specify the link in console.h file as well? (What I did wascheck if readonly and istexteditor works.. unsigned int CIO_TABSIZE=4 in console.cpp).: D || unsigned int CIO_TABSIZE = 4; in console.cpp and extern unsigned int CIO_TABSIZE; in console.h <hr /> ReadOnly does not work like the ESCAPE key in non text editior mode. It should prevent the user from making any modifications on str. For example: when the user presses the DEL key in Read only mode, it should not remove the character that is currently on the cursor. Instead the function should return DEL and do nothing to str. -- yhwong6  
|-
 |-|Does ReadOnly if statement work like ESCAPE key ? (Store the string in another variable and replace it). ? And, how do you guys initialize the global variable for CIO_TABSIZE ? Do I need to specify the link in console.h file as well? (What I did was.. unsigned int CIO_TABSIZE=4 in console.cpp).: D || unsigned int CIO_TABSIZE = 4; in console.cpp and extern unsigned int CIO_TABSIZE; in console.h <hr /> ReadOnly does not work like the ESCAPE key in non text editior mode. It should prevent the user from making any modifications on str. For example: when the user presses the DEL key in Read only mode, it should not remove the character that is currently on the cursor. Instead the function should return DEL and do nothing to str. -- yhwong6|-|If IsTextEditor is true and the value of<u> *strOffset is changed at any time,</u> then terminate the edit function immediately and return 0; CAN SOMEONE explain what it means.. please : (- Solved! Thank you!|| It means when you move cursor to show the hidden characters or to hide shown characters(move to left or right) if IsTextEditor==True, then terminate the edit function; <br/>*strOffset is the number of characters of the left postion of string that not be displayed within the text-field. <br/>
At frist, you need store the original value of *strOffset, then everytime you press key, test if *strOffset is different from the original value, if it is then exit function and return 0;--hqiao3<br/>
|-
1
edit

Navigation menu